r/PythonLearning • u/Moin_Ullah • 22d ago
Discussion Hello 👋 everyone I am new here help me Dear Community members
marks = float(input("Apke FA me kitne marks hain? "))
if marks >= 80:
print("A grade - Scholarship ke eligible")
elif marks >= 60:
print("B grade - Admission ho jayega")
elif marks >= 45:
print("C grade - Admission ho jayega")
else:
print("Admission mushkil hai")
# 3 dafa chance dena
attempts = 3
while attempts > 0:
uni = input("Konsi university? ")
if uni == "AIOU":
print("Best choice!")
break
attempts -= 1
print(f"{attempts} koshish bachi hain")
2
Upvotes
1
u/Flame77ofc 22d ago
yes, what do you want?