It says that a float is required. Can anyone help me fix this code:
from time import sleep
print("Welcome to this game of random.") ; sleep(1.0)
print("Type in your name:") ; sleep(0.5)
playerName = raw_input()
print("Welcome " + playerName + " Type how fast do you want the text to go in this format: 1.0") ; sleep(1.0)
speed = raw_input()
print("You choosed: " + speed) ; sleep(speed)
Is there an error that needs to be fixed?