10 lines
214 B
Python
10 lines
214 B
Python
|
mark = int(input('What mark did you get?'))
|
||
|
|
||
|
if mark >= 75:
|
||
|
print('You got an A!')
|
||
|
elif mark >= 60:
|
||
|
print('You got a B!')
|
||
|
elif mark >= 35:
|
||
|
print('You got a C!')
|
||
|
elif mark < 35:
|
||
|
print('You got a D!')
|