Global keyword in Python | Modify a Global Variable | Python Tutorials for Beginners

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

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

  • @aishwaryagandhi1878
    @aishwaryagandhi1878 Год назад +25

    Ma'am thankyou for the wonderful lecture : )
    *input*
    name="Jenny's"
    def display():
    global name
    name=name+" Lectures"
    print(name)
    display()
    print(name)
    *output*
    Jenny's
    Jenny's Lectures

  • @muneebbolo
    @muneebbolo 7 месяцев назад +5

    Output:
    Jenny's
    Jenny's Lectures

  • @b.harshavardhan93
    @b.harshavardhan93 Год назад +2

    Mam suggest from which chapter we need to learn as a begineer

  • @bhautikhirpara007
    @bhautikhirpara007 2 месяца назад +1

    Jenny's
    Jenny's lectures

  • @sumanthlucky9484
    @sumanthlucky9484 Год назад +1

    Jenney's
    Jenney's Lectures 😊

  • @29___saicharanreddy.k83
    @29___saicharanreddy.k83 11 месяцев назад +1

    for 1 jenny's lectures
    2.jenny's

  • @vivekacharyavivekacharya6456
    @vivekacharyavivekacharya6456 10 месяцев назад

    Mam,we can modify that global value. Without a global keyword,,but we hv to modify directly in the print function.
    Well ,is this also fine know mam?

  • @VishnuVardhan-dp7hu
    @VishnuVardhan-dp7hu Год назад +2

    Mam,Can you please provide notes for each lecture as you provided in the beginning of the series .
    Thanks for the series .

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

    Jenny's
    Jenny'sLectures

  • @shankar1050
    @shankar1050 Год назад +1

    from where do you learn the things. please tell us the source.

  • @solamankj1203
    @solamankj1203 3 месяца назад

    first print("jenny")
    second print("jennyLecture") we updated global variable inside the funtion display()

  • @penakasammaiah4392
    @penakasammaiah4392 Год назад

    ma'am, your explanation is vey beautiful and clear as like you

  • @ramya_koppisetti9092
    @ramya_koppisetti9092 11 месяцев назад

    Please explain last 5 min concept 20,20,30 with diagram mam.

  • @pagadalaramakrishna4613
    @pagadalaramakrishna4613 Год назад

    jenny's
    jenny's Lectures

  • @neha__singh54
    @neha__singh54 3 месяца назад

    mam i am not getting how value of a after calling became 20

  • @reasonalphysicsexplain9457
    @reasonalphysicsexplain9457 6 месяцев назад

    def display():
    global name
    name = name + "lectures"
    Print(name)
    display()
    print(name)
    Output-
    Jenny's
    Jenny'slecture

  • @potrakandimanojkumar2693
    @potrakandimanojkumar2693 Год назад +1

    Mam❤

  • @preetamsthings4189
    @preetamsthings4189 Год назад +2

    The way she stares directly on camera
    It takes our attention away.
    Please don't do that 🙏😂

  • @shamalpanra
    @shamalpanra Год назад +2

    ❤️❤️❤️🤟🤟🤟

  • @premkamble1520
    @premkamble1520 Год назад

    Mam please kya aap java language pada sakte he kya

  • @i_UCH1HA
    @i_UCH1HA Год назад +5

    Python, anaconda whatever you teach I'll learn them happily although i have no use of them in my profession

    • @NMEDarshanKS
      @NMEDarshanKS Год назад +2

      So you are wasting your time in your life and you came to see only the ma'am right? What man🤦🏻...think and use your time to be better

    • @i_UCH1HA
      @i_UCH1HA Год назад

      @@NMEDarshanKS 1st of all stop wasting your time replying to certain things which ur brain is unable to comprehend 2nd go and use your time to work on understanding jokes or sarcasm rather than giving advice to others..

    • @NMEDarshanKS
      @NMEDarshanKS Год назад

      @@i_UCH1HAThank you for giving time to type this message. 1st and 2nd of all i am not wasting my time i just realised you to spend time to type better than is message and i am always free to read only your message....😁

  • @amitkmpbtup
    @amitkmpbtup Год назад

  • @tengerbmw3789
    @tengerbmw3789 Год назад +2

    Kali me ma maal,safed me bawal;
    Aapki thodi si muskuraht kar deti hai mere Dil ka bura hal;😅

  • @azarudeena6467
    @azarudeena6467 7 месяцев назад

    name = "jeni"
    def display():
    global name
    name = name + "lecture"
    # print("inside:",name)
    print(name)
    display()
    print("outside:",name)
    output :
    jeni
    jenilecture

  • @UdaipurVillagers3132
    @UdaipurVillagers3132 3 месяца назад

    error

  • @emuislam5751
    @emuislam5751 Год назад +1

    You are damn🥺

  • @haha-j9g6g
    @haha-j9g6g Год назад

    U looks 😍

  • @vaibhavpatharkar6794
    @vaibhavpatharkar6794 Год назад +1

    Jenny madam pl pl pl pl pp start SQL. Hath jodkar bimti hai apase

  • @mlynn5177
    @mlynn5177 3 месяца назад

    Jenny's
    Jenny'sLectures