Python Code - Vikrant Meshram

This quote was added by vikrantstar007
>>> def fib(n): # write Fibonacci series up to n ... """Print a Fibonacci series up to n.""" ... a, b = 0, 1 ... while a < n: ... print(a, end=' ') ... a, b = b, a+b ... print() ... >>> # Now call the function we just defined: ... fib(2000) 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597.

Train on this quote


Rate this quote:
2.8 out of 5 based on 5 ratings.

Edit Text

Edit author and title

(Changes are manually reviewed)

or just leave a comment:


Test your skills, take the Typing Test.

Score (WPM) distribution for this quote. More.

Best scores for this typing test

Name WPM Accuracy
dagan 25.52 83.5%

Recently for

Name WPM Accuracy
dagan 25.52 83.5%