0

Can anyone please explain the meaning of variable as in lesson 12.1 in python for beginners

29th Dec 2021, 7:47 PM
Moonlight
Moonlight - avatar
4 Answers
0
A variable is used to Store information that can be accessed faster For example Variables can have any name but a variable is not supposed to start with an Interger #let's create a variable called num which will store Interger 6 num = 6 print(num) #outputs 6 #let create a variable called name which will store a string(caleb) name = "caleb" print(name) #outputs caleb If there is no variable in the code then it will impossible for you to access data
29th Dec 2021, 7:55 PM
MATOVU CALEB
MATOVU CALEB - avatar
0
A variable is the pillar of computer programming. It is a memory address that has assigned a value (integer, char, floating point, boolean). int a = 7; // statements a = 42; A variable can be reassigned in the scope of the program. I think you should take a low-level programming course, like C, and not abstract one, OOP oriented, like Python or Java. If you struggle to understand, you must learn the basic concepts of computer programming: memory, instructions, code machine, pointers etc.
29th Dec 2021, 7:56 PM
Romeo Cojocaru
Romeo Cojocaru - avatar
0
MATOVU CALEB Yeah, sure! With that Python example and its type safe, he will understand the maximum amount. What is num?! What represents name?! šŸ˜‰
29th Dec 2021, 7:59 PM
Romeo Cojocaru
Romeo Cojocaru - avatar
0
Thanks šŸ˜Š
30th Dec 2021, 11:09 AM
Moonlight
Moonlight - avatar