Hey Ya Folks, Wellcome to my Python Tutorial.
Download Python on https://www.python.org/ and install it.
Now you a ready to start programming with Python.
With Output you can show Text in the Console
Output: print('Hello World')
Variables can contain Text, a Letter or different Numbertypes.
Variabletypes:
- String: a = 'Hello World'
- Integer b = 1
- Double c = 1.0
- Float d = 1.1
- Character e = 'G'
To show the Value of Variable e just type: print(e)
For the case you want to put out two or more Variables in one print command you can type:
print(a, b , c , d, e)
In the case of you want add one string to another you can just type:
a = hello
b = World
print(a + b)
For puting in Values to a Variable you can use : a = input('Please give me a Value for Variable a:')
I hope that was helpful, thanks for reading.