📅  最后修改于: 2022-03-11 14:47:12.777000             🧑  作者: Mango
Program to demonstrate ternary operators in Python
marks = input('Enter the marks: ')
print("The result is Pass" if int(marks)>=35 else "The result is Fail")