Skip to main content
Ask a Question
Asked a question last year

Hi fellow learners , Since many of you guys were having difficulty with the Assignment day 2 . Please dont hesitate to ask me any doubt i am here to help ... I have coded it completely and below is my code : import random num=random.randrange(1,250) print("The random score of team India has been generated... ",num) score=int(input("Enter your guess : ")) if score in range(num-10,num+11): print("Close By , You are a true Indian Fan") elif score in range(num-20,num+21): print("You dont watch that much! :P") else: print("Reduce your expectation for 20-20 cricket")

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now