Python is a language that is processed in real time through an interpreter, also called Python. So there is no need to compile the code before running it.
The Python console is a program that allows you to enter Python commands one line at a time. This is called REPL (Read-Eval-Print-Loop).
Python allows you to perform arithmetic calculations in real time as if it were a calculator. You can directly enter values for operations on a single line.
Floats, or floating numbers, are decimal numbers, that is, those that have a comma (0.24, -3.1423333). These numbers can be defined directly by writing the number with a comma, or using operators that generate decimal numbers such as divisions between integers.
Sometimes in some algorithms it is necessary to know in the division operations, not the result, but the quotient and rest values. The operation is often also called a module (11 module 3)
In Python you can use text and you can do it with strings. You can define a string using both the single and the double quotation mark.
Often during the execution of a program, it is necessary to bring back some text strings (output) on the console. You have already seen that the print() function is used to correctly report a string or a variable.
Perhaps the most used operation on strings is the concatenation of two or more strings. In other words, it is often necessary to combine several strings to form longer sentences.
You have already seen this between integers and floats. In fact the whole numbers were implicitly converted into float by the interpreter and then carried out the operation. In this case we speak of implicit conversions. In reality it is advisable (as long as we can realize this) to always specify type conversions, so as to avoid sometimes unwanted results.
he variables are practically unavoidable in programming and are used to store values in order to be used later.