Question: Test the program and identify how it could be improved for the following code in python Is the program user friendly? No? Fix it! Can

Test the program and identify how it could be improved for the following code in python

  1. Is the program user friendly? No? Fix it!
  2. Can the user break the rules of the program? Yes? Fix it!
  3. Can the user break the program? Yes? How? Fix it!
  4. Can this program have improved functionality? Add one or two improvements.

Test the program and identify how it could be improved for the

import random play_game = True while(play_game): answer = random.randint(1, 100) try_number = input('Enter a number between 1 and 100: ') try_number = int(try_number) counter = 1 while try_number != answer: if try_number > answer: print ('Your number is too large.') if try_number answer: print ('Your number is too large.') if try_number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!