python tutorial

#Simple console program
print('Hello')
x = input('Enter a value: ')
print(value)

Here is what the above code is Doing:
1. It prints the string ‘Hello’ to the console.
2. It prompts the user to enter a value.
3. It assigns the value entered by the user to the variable x.
4. It prints the value of the variable x to the console.