📅  最后修改于: 2022-03-11 14:46:23.150000             🧑  作者: 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")