Python Programming
Monday, June 3, 2019
WAP to input the marks of a student and print the result (passing marks = 40 %)
Marks = float(input('Enter marks = '))
print('-'*10)
if (Marks<40.0):
print('fail = ' + str(Marks))
else:
print('Pass = ' + str(Marks))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment