hi there. I have noticed that in the lesson you didn't gave the int datatype a size parameter. Does it mean that int parameter can hold lby default any integer no matter how many characters it consists of? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

hi there. I have noticed that in the lesson you didn't gave the int datatype a size parameter. Does it mean that int parameter can hold lby default any integer no matter how many characters it consists of?

24th Sep 2015, 8:35 AM
George Shtalman
George Shtalman - avatar
1 Answer
0
u can choose the size for eg. whe is to put age u can put int(3),cause nowadays we dont find persons with ages more than 999,for cell phone number u can use int (15) or more but according to the country
23rd Jun 2016, 11:01 AM
Domingos Inacio Caetano
Domingos Inacio Caetano - avatar