I was wondering if anyone could help me. I'm really new to this and I need to convert my input into a string?
# Python program to calculate the Fibonacci numbers
def fibR(n):
if n == 1 or n == 2:
return 1
else:
return fibR(n - 1) + fibR(n - 2)
# Request input from the user
num = int(input("Please enter the number in the Fibonacci sequence you wish to calculate: "))
#
if num == 1:
print("The Fibonacci number you have requested is" + 1 + ".")
else :
print("The Fibonacci number you have requested is" + fibR(num) + ".")