More on Variables, Operators and Expressions

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 18

  • @avenumadhav3568
    @avenumadhav3568 3 года назад +25

    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

  • @bhaskartrivedi3114
    @bhaskartrivedi3114 3 года назад +19

    kindly improve audio quality

  • @mukeshs8742
    @mukeshs8742 2 года назад +6

    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.

  • @umarulf
    @umarulf 28 дней назад +2

    best lec nd

  • @meriid7017
    @meriid7017 Месяц назад

    Dhnaywaad

  • @054_nirajkumar3
    @054_nirajkumar3 3 года назад +7

    थैंक्यू

  • @kmishy
    @kmishy 3 года назад +1

    11:00 This is called assignment operator.

  • @abhilashkokkonda1713
    @abhilashkokkonda1713 3 года назад +3

    speed: 1.25
    Thank me later

  • @harshasubbanna
    @harshasubbanna 3 года назад

    can someone give link to Computational thinking video on the same