python get input

#Collecting The Input As A Variable:#
name = input('Please enter your name: ')
#Printing The Variable:#
#Checking The Variable And Printing Accordingly:#
if name == 'Joe':
  print('Joe Mama')

Here is what the above code is Doing:
1. It’s asking for input from the user.
2. It’s storing the input in a variable called ‘name’.
3. It’s printing the variable ‘name’.
4. It’s checking the variable ‘name’ and printing ‘Joe Mama’ if the variable is equal to ‘Joe’.