python to take user input and check for the input value using if code example Example: how to get a user input in python a = input("what is your input")