Guessing Team india score in 20-20cricket
Wap gives you a random score of team india in a cricket match,and a playerhas to guess the score given by computer in between 1 to 250 The rules are
1.if a players guess is less than 1 or greater than 250,say "Reduce your expectation for 20-20 Cricket"
2.On a players input,if their score guess is
a.within 10of the number ,return "Close By,you are True Indian Fan!"
b. Further than 10away from the number,return "You don't watch that much!:P"
1
Expert's answer
2020-05-07T03:04:01-0400
Dear Reddy, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Learn more about our help with Assignments: Python
Comments
slkajd
03.06.20, 21:35
import random num=random.randint(1,250) print(num)
guess=int(input("Enter your guess")) max=num+10 min=num-10 if num <
guess < max: print("Close by , ypu are true indian fan") elif num >
guess > min : print("You are not a true indian fan ! : P") elif guess
< 1 or guess > 250 : print("Reduce your Expectation for 20-20
cricket")
Leave a comment
Thank you! Your comments have been successfully added. However, they need to be checked by the moderator before being published.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
import random num=random.randint(1,250) print(num) guess=int(input("Enter your guess")) max=num+10 min=num-10 if num < guess < max: print("Close by , ypu are true indian fan") elif num > guess > min : print("You are not a true indian fan ! : P") elif guess < 1 or guess > 250 : print("Reduce your Expectation for 20-20 cricket")
Leave a comment