+ 1
Ballpark
I don't understand why cannot make run this code https://code.sololearn.com/cK2ga1smIHfZ/?ref=app
4 Answers
+ 4
Reda Zerghani ,
Use order = input().split() instead of order = list(input())
Sample input
Pizza Cheeseburger Water Popcorn
Sample Output
26.75
https://www.sololearn.com/compiler-playground/c0Vi6Gw1Xe4G
+ 1
I really don't understand
+ 1
SoloProg Thank you for you answer it really help ! Could you, please, if it's OK explain me why should us the .split() don't we use that function to split a liste ???
+ 1
Print the result onto the screen:
print(order)