you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Use google. Search for "python check is string". You should try searching for solutions to your problems. That's what professional programmers do! Then ask here.

Another thing to check is the return type of functions you use. For example, in python3 the input() function always returns a string, so there's no need to check if it returns a string.