calcule time with distance and vitesse | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

calcule time with distance and vitesse

Hi, I got a can't assign to operator error and I don't get it. plizz help V = input ("Entré une Vitesse\n") t = input ("Entré une duré\n") V * t = (int (total)) print ( "Votre duré sera de", total )

14th May 2019, 9:31 AM
Florent Mishima
Florent Mishima - avatar
2 Answers
+ 4
V = float(input("Entre une vitesse\n")) t = float(input("Entre une durée\n")) total = V * t print ("Votre durée sera de", total)
14th May 2019, 10:17 AM
Anna
Anna - avatar
0
Not everyone knows French and so not everyone can help. Please use english, as it is best practice for coding too.
14th May 2019, 10:08 AM
Daniel Adam
Daniel Adam - avatar