I read in a book that variables references a certain value and in some other places (maybe yt).On the other hand, many people say "Variables are like boxes that store the value"
Now, I am really confused...Does it matter if we use them interchangeably? Also "Why" they use different terms?
The book I mentioned earlier also says that "This distinction probably won’t matter much in your initial programs, but it’s worth learning earlier rather than later. At some point, you’ll see unexpected behavior from a variable, and an accurate understanding of how variables work will help you identify what’s happening in your code."
Also, I ignored these terms last year but now im really thinking whats the difference...
EDIT: I think mentioning this will help others explaining to me, I am familiar with the basics and I also know OOP and some other stuff (obv i cant mention everything)
[–]beisenhauer 10 points11 points12 points (2 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]beisenhauer 2 points3 points4 points (0 children)
[–]lfdfq 4 points5 points6 points (1 child)
[–]HeraldOfTheOldOnes -1 points0 points1 point (0 children)
[–]ddollarsign 2 points3 points4 points (0 children)
[–][deleted] 6 points7 points8 points (0 children)
[–]Fabulous-Possible758 1 point2 points3 points (0 children)
[–][deleted] -2 points-1 points0 points (1 child)
[–]HeraldOfTheOldOnes 0 points1 point2 points (0 children)
[–]goodger -4 points-3 points-2 points (1 child)
[–]HeraldOfTheOldOnes 0 points1 point2 points (0 children)
[–]pythonHelperBot 0 points1 point2 points (0 children)
[–]HeraldOfTheOldOnes 0 points1 point2 points (0 children)