how to print string in python with user input code example Example: python input # The function 'input()' asks the user for input myName = input()