Oct-19-2021, 07:39 AM
After fixing the bunch of SyntaxErrors due to wrong quotes you use here and there your code works for me
Output:Hello! What is your name?John Doe
Guess a number between 1 and 20: 3
You guessed 3. Too low.
Guess a number between 1 and 20: 5
Hello, John Doe.
You guessed the secret number.
It is true that the secret number was 5.
It took you 2 tries.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs