how to given input in terminal and get the output python code example
Example: input from terminal python
text = raw_input("prompt") # Python 2
text = input("prompt") # Python 3
text = raw_input("prompt") # Python 2
text = input("prompt") # Python 3