PyZombis aayush/issue#210@2ee5549
Social
Runestone in social media:
Follow @iRunestone
Our Facebook Page
Help support us:
Search
Table of Contents
Book Index
User
Assignments
Practice
Change Course
Instructor's Page
Progress Page
Edit Profile
Change Password
Register
Login
Dark Mode
Scratch Activecode
Help
FAQ
Instructors Guide
About Runestone
Report A Problem
5.
Repetitions
¶
number = 0 def guess(): global number number = int(input("Welcome!\nGuess the number: ")) while number != 42: if number > 42: number = int(input("High\nTry again!")) else: number = int(input("Low\nTry again!")) print("You won!") guess()
5.1.
Users Still Dislike It
¶
You have attempted
of
activities on this page