Please help me debug | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Please help me debug

https://code.sololearn.com/cq7zScqyDyDs/?ref=app This is my game, it has a bug in it, please help me debug this code, thanks! P.S. I have already int() the input(), but it still doesn't work

31st Aug 2020, 6:56 AM
Aiden Bok
Aiden Bok - avatar
4 Answers
+ 2
Check this out Aiden Bok Just the problems are 1. You have to add a':' after every if and else statement 2. At the ending print statements you are trying to concatenate a string and an integer Thanks please upvote 🙏🙏 https://code.sololearn.com/ccz9S1EGBzZ5/?ref=app
31st Aug 2020, 7:14 AM
Krish
Krish - avatar
+ 1
Hello. You need to go through Syntax once again. You are supposed to put a colon(:) after conditions and else statements in Python https://www.sololearn.com/learn/Python/2277/
31st Aug 2020, 7:09 AM
Raj Chhatrala
Raj Chhatrala - avatar
31st Aug 2020, 7:15 AM
JaScript
JaScript - avatar
+ 1
oh yeah, I forgot
31st Aug 2020, 7:21 AM
Aiden Bok
Aiden Bok - avatar