New Python learner here.
I am trying to do Kylie Ying’s ‘Guess the Number Beginner Python Tutorial’.
She build two guess the number games. One is human guesses number and the second is the computer guesses the number.
Both games are built within the same code. My code is exactly like hers: guess-the-number/main.py at master · kying18/guess-the-number · GitHub
However, mine runs differently. When I run the code, unlike Kylie’s video, my code never gets past the first “def” (the first game). While hers runs using the second “def” (the second game).
I am banging my head trying to figure out what is wrong. I’ve even copied and pasted her exact code to test what I was doing wrong - yet I still get the same result.