There are a couple of ways to gain input. First I am going to explain the easiest ways to gain input:
- The first one is just type: input() and run. In the command window/ shell is it then possible to type the input that you want. Click here to see what I did.
- Your input is always what you type in your shell window. So for example if you define your input: a= input(“how are you doing?”), then it is not going to save this as variable a. It is going to safe what you type in your shell window. To see the example, click here.
This is my opinion a short overview about the important thinks that you can do with input. Of course there are more ways to apply input, but these two are the most simple and in my opinion the most common used.