name = input("What is your name? ")

This code will ask the user to type their name and then stored it in the variable ‘name’ as a string (text).