is declaring the name of a variable while using the "while loop" important? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

is declaring the name of a variable while using the "while loop" important?

I mean the name of the variable isn't shown in the output. so is it important? or can I choose any name I want just to declare it's value?

20th Jun 2016, 6:27 AM
souvik singha
souvik singha - avatar
2 ответов
0
the name of the variables are just to make it easy to understand and for what they do, think the names like a hint to you remember for what the variable exists
20th Jun 2016, 7:42 AM
Victor
Victor - avatar
0
you can choose any name
20th Jun 2016, 7:59 AM
藝齡胡
藝齡胡 - avatar