how to use the input function in python 3 code example Example: python input function answer = input('What is your name?')