0

Why isnā€™t my code working?

When i run my code it says to put in a input but i have already. Can anyone help me? Codeā€¦ https://code.sololearn.com/cJ8EchI13k0W/?ref=app Thanks

21st May 2022, 7:17 AM
Minat0
Minat0 - avatar
3 Answers
+ 1
Besides what I pointed in the earlier message, your code is full of inconsistent indentation, make sure if you leave 4 spaces at the front of every line, make sure it is always 4 spaces. Don't make it 4, then change to 3.
21st May 2022, 7:21 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 1
Look at this line: player_Choice = input("choose" 1, 2 or 3"...) The sole parameter of the input function is the text prompt you want to give your user. To make that line of code correct, you should do this: player_Choice = input("choose 1, 2 or 3..." )
21st May 2022, 7:19 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
0
Ok thanks
21st May 2022, 7:39 AM
Minat0
Minat0 - avatar