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 ho
codecademy.com has a pretty good tutorial imo
On Sun, Sep 8, 2013 at 4:00 PM, olatunde Adebayo 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 / program
> an
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