Introduction to Programming - Variables

 Hello and welcome to my blog! Today we are going to learn about variables. A variable can storage 

different kinds of values such as texts, numbers, binaries etc. Python has 4 main variables "string, float, 

boolean and integer" lets start with integer. Integer also known as int is variable type that integers such as 

1, 10, 325. The other variable type is float. Float is also a number variable but it can storage fractional 

numbers such as 1.5 23.9 if you try to give to float type a integer number it takes it as float again for 

example if you try to put 3 in a float and try to print it it will say yo its 3.0 Next one is boolean. Boolean 

variables has 2 opportunity True or False. and the last one is string. stings can storage texts and if you 

write numbers on string it will write it but you cant make mathematical operation on them. thats all for 

this blog next time we are going to start writing real codes see you on next blog!  

Yorumlar

Bu blogdaki popüler yayınlar

JUJUTSU KAISEN

One Punch Man

How I Met Your Mother