Wrong with this script?
misthunter at gmail.com
Sat Mar 5 21:23:48 CET 2005
Hi, I've been busy with an experimental script, and I can't seem to
see what is wrong with it, can somebody tell me?
Here it is:
a = 0
b = 1
mainloop = 1
print "Welcome to pyFibo"
print "For more information type \'help\'"
limit = input("Until what number do you want to see the
print "The Fibonacci series is a worldfamous series of
Each consecutive number is calculated by adding the previous two
while b < limit:
a, b = b, a+b
print "Want to do another series?"
again = input("(Type yes for another series, or anything
else to quit.)"
mainloop = 0
Any help is appreciated, thanks ^_^
More information about the Python-list