Jump to content
UnevenEdge

Recommended Posts

Posted

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.

Posted
  On 6/25/2020 at 10:57 PM, 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.

Expand  

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

Posted
  On 6/25/2020 at 11:09 PM, 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

Expand  

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.

Posted
  On 6/25/2020 at 11:15 PM, Belle Duckphine said:

Send me ur code 

 

Expand  

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

Posted
  On 6/25/2020 at 11:33 PM, 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.

Expand  

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

Posted
  On 6/25/2020 at 11:33 PM, 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.

Expand  

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.

Posted
  On 6/25/2020 at 11:43 PM, Belle Duckphine said:

what are the restraints on getting the function to return 1

Expand  

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?

Posted
  On 6/25/2020 at 11:46 PM, 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?

Expand  

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

Posted

Without knowing anything about python, how are you forcing the entry to be an integer?  Suppose the user types a letter or symbol?

You'll probably need an error trap. (if that's what they call it in python)

×
×
  • Create New...