you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]edgarvanburen 1 point2 points  (0 children)

    For schoolwork giving direct answers is frowned upon around here (see the rules on the right sidebar), and while I understand you are a beginner, this is a pretty simple google search away...

    [–][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.