In python we need a way to enter a piece of data so a piece of code can execute it and run. In python we can use the input function to do this.
An input function can be declared like this:
input()
Inside the brackets we can have a prompt be outputted so that we know what to enter. *Remember if we want the prompt to display text we need to add quotation marks
We can use input to assign a value to a variable like this:
variable = input(‘Enter a value’)