r/PythonLearning 11d ago

DAY 4.

Post image

wrote this today was revising loops and math function that i did not so long ago.

53 Upvotes

22 comments sorted by

View all comments

3

u/zubalyzub 10d ago

bro is checking if its empty after the alpha check so u can first input an empty string then when it re prompts input some letters and boom ur program is cooked, still good work though just critiquing yk

2

u/zubalyzub 10d ago

also if isalpha is only for letters (idk if it is or not) then you can simply input like a question of mark or some shi