Jump to content
UnevenEdge

Dude learning python is frustrating af sometimes


That_One_Guy

Recommended Posts

4 minutes ago, Doom Metal Alchemist said:

I never learned python but I have learned other languages and this frustration is universal to computer programming as a whole.

Python is easy relative to other languages apparently so I can't imagine how frustrating the shit you learned is lol

Link to comment
Share on other sites

12 minutes ago, tsar4 said:

I've been debating trying some free courses in it, since I only know SQL & VBA.  I tried to get through a book on C+, but found it boring after a couple chapters.

I heard c++ is really fucking hard lol.if you have experience, I don't think you'll have an issue with python

Link to comment
Share on other sites

19 minutes ago, That_One_Guy said:

I heard c++ is really fucking hard lol.if you have experience, I don't think you'll have an issue with python

You know what's worse than C++? C. I studied C far less than I did C++ though.

Also, this probably seems counter intuitive, but it might be worth it to learn COBOL. Nobody uses it anymore, EXCEPT like government agencies that have used it absolutely forever and refuse to upgrade their systems (and this happens a ton) and there is a huge shortage of COBOL programmers out there for obvious reasons.

I never learned COBOL myself so I don't know how hard it is or isn't compared to other languages, but just thought I'd put that out there.

Link to comment
Share on other sites

20 minutes ago, Belle Duckphine said:

Send me ur code 

 

Basically i gotta write a code that let's the user input an integer that calls a function until the function returns the value one. Defining the function was easy. I just can't get the actual code. The function is:

Def collatz(number):

    If number(percent sign)2==o:

         Return number//2

Else:

    Return 3*number+1

So yeah I'm sure I just don't know what I'm doing

Link to comment
Share on other sites

7 minutes ago, Doom Metal Alchemist said:

You know what's worse than C++? C. I studied C far less than I did C++ though.

Also, this probably seems counter intuitive, but it might be worth it to learn COBOL. Nobody uses it anymore, EXCEPT like government agencies that have used it absolutely forever and refuse to upgrade their systems (and this happens a ton) and there is a huge shortage of COBOL programmers out there for obvious reasons.

I never learned COBOL myself so I don't know how hard it is or isn't compared to other languages, but just thought I'd put that out there.

I gotta get this python shit first haha. I'll worry about the real shit once I get out of kindergarten

Link to comment
Share on other sites

8 minutes ago, Doom Metal Alchemist said:

You know what's worse than C++? C. I studied C far less than I did C++ though.

Also, this probably seems counter intuitive, but it might be worth it to learn COBOL. Nobody uses it anymore, EXCEPT like government agencies that have used it absolutely forever and refuse to upgrade their systems (and this happens a ton) and there is a huge shortage of COBOL programmers out there for obvious reasons.

I never learned COBOL myself so I don't know how hard it is or isn't compared to other languages, but just thought I'd put that out there.

Ages ago, I learned Assembly Language.  I thought it was interesting, especially the troubleshooting aspect, but it was part of my Electronics Tech curriculum.  If I had it to do over again, I'd have switched to Computer Sciences.

Link to comment
Share on other sites

1 minute ago, Belle Duckphine said:

what are the restraints on getting the function to return 1

Basically I just don't know how to write the code. I'll be totally honest idk where to start. I know this doesn't help at all but I'm lost. 

I have to write a code that allows the user to type in a number that will call that function until the function returns one. I think the first thing I should do is import the function. That's a thing right?

Link to comment
Share on other sites

2 minutes ago, That_One_Guy said:

Basically I just don't know how to write the code. I'll be totally honest idk where to start. I know this doesn't help at all but I'm lost. 

I have to write a code that allows the user to type in a number that will call that function until the function returns one. I think the first thing I should do is import the function. That's a thing right?

What's the error your getting? Is the function returning the wrong answer or is the whole program failing to run at all?

Link to comment
Share on other sites

×
×
  • Create New...