0

Confusing with variable

21st Aug 2024, 1:29 PM
Ramya Chinthaparthi
Ramya Chinthaparthi - avatar
2 odpowiedzi
+ 2
Ramya Chinthaparthi , your questiom seems to be incomplete. the post should include: > the programming language (to be placed in tags) > a clear task description with input / output sample > a link that points to your code try > a description what exactly your issue is, (if possible including an error message)
21st Aug 2024, 3:26 PM
Lothar
Lothar - avatar
0
Ok Ramya, Think of a variable as a box. This box can hold different values, like numbers or words . The important thing is that the value inside the box can change. To understand what variable in programming language for example, in python x = 10 which means x have a value of 10. The part left to equal sign(=) is name of variable and the part right to equal sign(=) is value of variable.
21st Aug 2024, 3:31 PM
Kalab Abebe
Kalab Abebe - avatar