To sum up, I need to ask a question:
If the user doesn't introduce a str, I need the question to be asked repeatly until the use enter a str.
This is what I got so far.
x = input('What is your name? ')
if x != str
x=input('Sorry, you need to introduce a str. What is your name? ')