Problem: Guessing Birthday The program can guess your birth date. Run to see how it works. 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 Set1 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31 Set2 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31 Set3 + 19 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 Set4 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Set5
Added by Julie F.
Close
Step 1
- The questions will be based on binary numbers. - The program will have a set of numbers for each question. - The user will answer "yes" or "no" to each question. - Based on the user's answers, the program will determine the birth date. Show more…
Show all steps
Your feedback will help us improve your experience
Rashmi Prakash and 59 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Write a Python script that will play the Guess the Number game. Before you begin coding, create a flowchart using Draw.io to model the game flow. Include a text box with your name and other descriptive information at the top of your flowchart. Export your flowchart as a PDF file. Your Python program should generate a number between 1 and 100. The program should continue until the user guesses the number successfully. Upon each guess, the program should tell the user if the guess was correct, too high, or too low. Once the user guesses correctly, the program should inform the user how many guesses it took. Be sure to include comments at the top of your Python program with your name and other descriptive information.
Florencia C.
Write a program that allows the user to play a simple guessing game in which your program thinks up an integer between 1 and 100 and allows the user to make guesses until the user gets it right. (The program also counts how many tries it took to get the correct number). For each incorrect guess, you will tell the user whether the right answer is higher or lower. write a java program
Gio M.
Draw a structured flowchart or write pseudocode that describes the process of guessing a number between 1 and 100. After each guess, the player is told that the guess is too high or too low. The process continues until the player guesses the correct number. Pick a number and have a fellow student try to guess it by following your instructions.
Shelayah R.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD