Python Program to input percentage and print result


cri=int(input('enter criteria(percentage) for pass and fail'))

per=int(input('enter perentage'))

if per>=cri:

  print('pass')

else:

  print('fail')

Comments

Some popular posts

Python Program that computes the net amount of a bank account based a transaction log from console input.