Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this game, the programmer will pick a number from 1 to 20, and ask the user to guess the number. The computer will tell

In this game, the programmer will pick a number from 1 to 20, and ask the user to guess the number. The computer will tell you if your guess is to high or too low. The game ends when the user guesses the correct number. This is a good game for you to start with because it uses number,loops, decision statements, and input from the user in a fairly short program. As you write this game, you will learn how to convert calues to different data types (and why would you would need to do this). (Code needs to be a while loop and needs to be in python only.) The code should look like: Hello! what is your name? Cody Well, Jennifer, I am thinking of a number between 1 and 20. Take a guess 10 Your guess is too high. guess again 5 Good job, Jennifer! You guessed my number! You win!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago