2 - Learn Python, Variables
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmWvad7shEbv5xUambYQtynd2Y4VKKpgwGVsiLzYQKpp74/qjrE4yyfw5pEPvDbJDzhdNXM7mjt1tbr2kM3X28F6SraZdK6SGyi82n1ieb5oV8juTivigGYZV5b6TtubmMwVQzYAoVtHBU2xybeiaH2SV3uF2jcS99oNpU6.png)
To define a variable just use the operator (=):
number = 1
string= hello
list = [1,2,3]
As you can see, it is not necessary to define the type of variables before using them.
TYPE OF DATA One opportunity that Python offers is to make multiple assignments on the same line of code a , b , c = 10, 20, 30
print a * b + c
Finally to add the comments just use # at the beginning of the line, or if it is necessary after the instructions
#hello python
hello # python