second ' print(first second the operator also works with strings by multiplying the content of string by an integer for examplefirst 'test second print(first secondtest test test asking the user for input sometimes we would like to take the value for variable from the user via their keyboard python provides built-in function called input that gets input from the keyboard when this function is calledthe program stops and waits for the user to type something when the user presses return or enterthe program resumes and input returns what the user typed as string inp input(some silly stuff print(inpsome silly stuff before getting input from the userit is good idea to print prompt telling the user what to input you can pass string to input to be displayed to the user before pausing for inputname input('what is your name?\ 'what is your namechuck print(namechuck the sequence \ at the end of the prompt represents newlinewhich is special character that causes line break that' why the user' input appears below the prompt if you expect the user to type an integeryou can try to convert the return value to int using the int(functionprompt 'what is the airspeed velocity of an unladen swallow?\nspeed input(promptwhat is the airspeed velocity of an unladen swallow in python this function was named raw_input