Python and its different way of type casting
I tried to make a Fibonacci program in Python to experiment with getting user input, displaying output and type casting. This was the code that I came up with at first: 1 2 3 4 5 6 7 8 9 10 11 def fib(n): print 'n =', n if n > 1: return fib(n - 1) + fib(n - 2) else: print 'end of the line' return 1 n = raw_input('Input number: ') int(n) fib(n) When I tried running the program in the CLI, I have been successful in getting the user input....