Re: [Tutor] Python Help (shits killing me)

2018-10-26 Thread Andrew Van Valkenburg
nth = n1 + n I don't see where n is defined anywhere. Should be n2? On Fri, Oct 26, 2018 at 6:09 AM Ben Placella wrote: > So I have to make a fibonacci sequence, and I'm not sure what is wrong with > my code > #This program illustrates the fibonacci sequence > nterms=int(input("Please enter

Re: [Tutor] Where do I start learning Python

2013-09-09 Thread Andrew Van Valkenburg
codecademy.com has a pretty good tutorial imo On Sun, Sep 8, 2013 at 4:00 PM, olatunde Adebayo nopo...@yahoo.com wrote: hey everyone, I am taking a graduate level class this fall that required python programming. can anyone direct me to where can i get a free python training crash course /

Re: [Tutor] Problems understanding code output

2013-07-18 Thread Andrew Van Valkenburg
I'm not really sure what you are asking, but the formatting for your code is pretty screwy. I reformatted it and changed the print statements slightly to make it more readable and it works fine from what I can see. def printMax(a, b): if a b: print a, 'is maximum' elif a == b: print