best way to take input in python code example Example: python input # The function 'input()' asks the user for input myName = input()