لماذا لايغلق الاسكريبت عند n ما هو الخطأ
while True :
repeat = input ("Do you want to peform another oparation (y/n): \n").lower()
if repeat == "y" :
break
elif repeat == "n" :
print("exit")
quit
else :
print("invalid choice")
ما هو الخطأ هنا انا جديد بلغة بايثون
while True :
repeat = input ("Do you want to peform another oparation (y/n): \n").lower()
if repeat == "y" :
break
elif repeat == "n" :
print("exit")
quit
else :
print("invalid choice")
انا متعلم جديد للغة بايثون لكن لا افهم ما هو الخطأ هنا
while True :
repeat = input ("Do you want to peform another oparation (y/n): \n").lower()
if repeat == "y" :
break
elif repeat == "n" :
print("exit")
quit
else :
print("invalid choice")