Professional Documents
Culture Documents
Python 1
Python 1
2 feb
!VERY IMPORTANT!
When we are writing in Python we use “.” NOT “,” as our delimiter
for the decimals.
VERY IMPORTANT!
Numbers can also be strings, like “5” or ‘-6’
Also 5 is different form ‘5’ or “5”, because the first one is an integer
and the other two are strings.
EX: “homework”, ‘python’, “I’m cool”, ‘67’
VERY IMPORTANT!
For defining a variable we just use a name for the variable and then
put ‘=’ and the value, like the example below
For writing in Python we use Pycharm. First, we open it and create a
project.
Make sure that you have selected Virtualenv and for base
interpreter something with python 3.9 or 3.10. After, then just press
create.