Update testScore.py

This commit is contained in:
Ray 2023-09-17 16:59:29 +10:00 committed by GitHub
parent e7cd7e0d3d
commit 73a36a6865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
# Copyright 2022, Rayyan Hodges, TAFE NSW
# rayyan.hodges@studytafensw.edu.au
#Obtaining user's score #Obtaining user's score
score=int(input("Please enter your test score: ")) score=int(input("Please enter your test score: "))
@ -5,4 +8,4 @@ score=int(input("Please enter your test score: "))
if score>50: if score>50:
print('Congratulations, you passed your test!') print('Congratulations, you passed your test!')
input("Press Enter on the keyboard to exit") input("Press Enter on the keyboard to exit")