# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

def sum(a,b):
    return (a+b)
print(sum(50,20))


a=int(input("Enter your marks out of 500 "))
per=a/500*100
if per>=80:
    grade="O"
elif per>=65:
    grade="A"
elif per>=50:
    grade="B"
elif per >=40:
    grade="C"
else:
    grade="Fail"
print(f'Grade is {grade}')



StarcoderdataJupyterScriptsDedupFiltered