ICTPRG302CodingHomework/testScore.py

12 lines
291 B
Python
Raw Normal View History

2023-09-17 06:59:29 +00:00
# Copyright 2022, Rayyan Hodges, TAFE NSW
# rayyan.hodges@studytafensw.edu.au
#Obtaining user's score
score=int(input("Please enter your test score: "))
#Determining users score
if score>50:
print('Congratulations, you passed your test!')
2023-09-17 06:59:29 +00:00
input("Press Enter on the keyboard to exit")