Write a program that displays questions and four choices of answers. The user enters the answer and accordingly his high score is calculated
Answers
Answered by
2
Answer:
USING PYTHON
Example 1
number = input("Enter your house number: ")
street = input("Enter your street name: ")
town = input("Enter your town/city: ")
county = input("Enter your county: ")
postcode = input("Enter your postcode: ")
print("\nAddress Details:\n" + "Street: " + number + " " + street + "\nTown/City: " + town + "\nCounty: " + county + "\nPostcode: " + postcode)
Example 2
score = int(input("Enter a score between 0 and 100: "))
if score >=70:
print("That test score is a grade A")
elif score>=60:
print("That test score is a grade B")
elif score>=50:
print("That test score is a grade C")
elif score>=40:
print("That test score is a grade D")
else:
print("That test score is a grade U")
Explanation:
MARK ME AS BRAINLIEST
Similar questions
Math,
4 months ago
India Languages,
4 months ago
Science,
9 months ago
Social Sciences,
9 months ago
Math,
1 year ago
English,
1 year ago