Step 2: Tell the future
Use the length of the name to choose a fortune. Same name, same fortune.
n = len(name)
print("In " + str(n) + " days you will find a coin.")
Need a hint?
len() gives a number, str() turns it back into text.
Use the length of the name to choose a fortune. Same name, same fortune.
n = len(name)
print("In " + str(n) + " days you will find a coin.")
len() gives a number, str() turns it back into text.