lesson1: Introduction of variable

Опубликовано: 18 Август 2024
на канале: VCODE LOGIC
29
0

This video covers all the fundamental concept of variable.
'''
A variable in Python is like a label or a name you give to a value so
that you can use that value later in your program.
Think of it like a box with a name on it where you can store something,
and whenever you need what's inside, you just call the name on the box.

Dynamic Typing: Python is dynamically typed, meaning you don't need to declare
the type of the variable (e.g., integer, string).
The type is inferred from the value assigned.
'''



'''
Case Sensitivity: Python variables are case-sensitive.
This means Name and name would be considered different variables.
'''


'''
Naming Rules: Variable names must start with a letter (a-z, A-Z) or
an underscore (_), followed by letters, digits, or underscores.
For example, my_var, _privateVar, and var2 are valid names,
but 2var or my-var are not.
'''




'''
Reassigning Values:
You can reassign a variable to a new value or even a new type.

'''


Смотрите видео lesson1: Introduction of variable онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь VCODE LOGIC 18 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 29 раз и оно понравилось 0 людям.