If-Statement
Wed 12 November 2025
# created : 20250125
# https://www.scientecheasy.com/2022/10/if-statement-in-python.html/
# Syntax of if Statement in Python
# if test_condition:
# Python statement(s) to be executed if condition is true.
# or,
# if(test_condition):
# statement(s)
def per():
myPer = 92
if myPer >= 80:
print("Grade A")
per()
Grade A
def check():
if(True …Category: python-basics
Read More