Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This question is in response to the answer given to me previously with the new line of code shown. It works beautifully, im in the
This question is in response to the answer given to me previously with the new line of code shown. It works beautifully, im in the beginning stages of learning how to code, and i don't understand how a few lines of code made it work. How do these lines work and/or change this code: 11-13 27 29 29 is completely new to me, is it a python function? like a built in code? 4. RandomGuess.py (30 points) Write a program that generates a random number in the range of 1 through 15 , and asks the user to guess what the number is. If the user's guess is higher than the random number, the program should display "Too high, try again". If the user' guess is lower than the random number, the program should display "Too low, try again". If the user guesses the number, the application should congratulate the user and generate a new random number so the game can start over
This question is in response to the answer given to me previously with the new line of code shown.
It works beautifully, im in the beginning stages of learning how to code, and i don't understand how a few lines of code made it work.
How do these lines work and/or change this code:
11-13
27
29
29 is completely new to me, is it a python function? like a built in code?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started