Update testScore.py
This commit is contained in:
parent
e7cd7e0d3d
commit
73a36a6865
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue