keywords: 0:551:20 (example) 1:44 (example) rules for naming a variable: 2:04(rule#1) 2:40(example) 3:25(rule#2) 3:50 (rule#3) 4:35(example) multiple assignment of values to a variable: 5:20(one way) 6:03(second way) swap variable values: 6:57 del x: 7:55 shorthand operator: 9:3811:2011:4012:15 in operator: 13:00 (analogy) 13:52(example) chaining operators: 14:4915:4516:07 (conclusion) rules of variable names: 1. Only can use alphanumeric (alphabets and numbers) and _ 2. _a, a1, _a1 can be used as variables 3. only can start a variable name with either alphabet or _ 4. variable names are case sensitive Notes: multiple assignment of variables: x, y = 1, 2 x = y = z = 10 x, y, z = 'hey', 10, 3.14 x,y = y, x x, z, y = z, x, y delete a variable: a = 10 del a print(a) //shows error in keyword: print('alpha' in 'alpha beta gamma') //True print('a' in 'zlphz betz gzmmz') //False
The content and Teachers are impressive!!! Just one request - Please improve Omkar Sir's Audio Quality , because we can CLEARLY HEAR Sudarshan sir audio sessions.
keywords: 0:55 1:20 (example) 1:44 (example)
rules for naming a variable: 2:04(rule#1) 2:40(example) 3:25(rule#2) 3:50 (rule#3) 4:35(example)
multiple assignment of values to a variable: 5:20(one way) 6:03(second way)
swap variable values: 6:57
del x: 7:55
shorthand operator: 9:38 11:20 11:40 12:15
in operator: 13:00 (analogy) 13:52(example)
chaining operators: 14:49 15:45 16:07 (conclusion)
rules of variable names:
1. Only can use alphanumeric (alphabets and numbers) and _
2. _a, a1, _a1 can be used as variables
3. only can start a variable name with either alphabet or _
4. variable names are case sensitive
Notes:
multiple assignment of variables:
x, y = 1, 2
x = y = z = 10
x, y, z = 'hey', 10, 3.14
x,y = y, x
x, z, y = z, x, y
delete a variable:
a = 10
del a
print(a) //shows error
in keyword:
print('alpha' in 'alpha beta gamma') //True
print('a' in 'zlphz betz gzmmz') //False
thanks ❤️
@@ashraf736 welcome :)
kindly improve audio quality
The content and Teachers are impressive!!! Just one request - Please improve Omkar Sir's Audio Quality , because we can CLEARLY HEAR Sudarshan sir audio sessions.
best lec nd
Dhnaywaad
थैंक्यू
11:00 This is called assignment operator.
speed: 1.25
Thank me later
1.75*
@@hakash3503 2.75**
@@gamingflexers6588 3.25x
@@Dexter4o4 10x
@@mathsforyou919810x10x
can someone give link to Computational thinking video on the same
none exists