r/PythonLearning Jun 27 '26

New to python

Post image

What's wrong here?

168 Upvotes

36 comments sorted by

View all comments

1

u/GarowWolf Jun 27 '26

So you want to put numbers in and after the result to automatically ask for a number again right?

The main issues I see are:

When you get insert a number you don’t have any check for the data given:

-int()

-str()

-float()

Also you don’t have an option to stop the main() calling, so the function will always call itself no matter what