Thursday, 22 October 2026

85 - CLASS 11 COMPUTER SCIENCE WITH PYTHON PRACTICAL FILE

 

Practical No : 85 : Write a python program that prints "Pass" if marks are 40 or above, otherwise "Fail".

marks = float(input("Enter your marks: "))

if marks >= 40:

    print("Pass")

else:

    print("Fail")

No comments:

Post a Comment