Write a Python program to check whether your number is equals to 1000 or not?
_________ PLEASEE I NEED QUICK AND QUALIFIED ANSWER_________
Share
Write a Python program to check whether your number is equals to 1000 or not?
_________ PLEASEE I NEED QUICK AND QUALIFIED ANSWER_________
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Hope this Helps You...
Please Correct me If I'm Wrong...
Answer:
def near_thousand(n):
return ((abs(1000 - n) <= 100) or (abs(2000 - n) <= 100))
print(near_thousand(1000))
print(near_thousand(900))
print(near_thousand(800))
print(near_thousand(2200))
pls mrkas brainlist