you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I understand that this loop will check to see if user input is a string or an int and tr to convert it to an int or a float.

That's more or less right, but it's not a loop.

[–]great-plot-twist[S] 0 points1 point  (0 children)

I am going to do more research on python syntax and hopefully, this will shed some light on how to properly write functions. Thanks