Returning Value & Global Scope | Class 12 Computer Science - Python 09

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 558

  • @mistykurien6146
    @mistykurien6146 3 роки тому +59

    The LEGB explanation was superb! Thank you!

  • @amisha7380
    @amisha7380 8 місяців тому +6

    13:02 for q1 , can we do like this ??:-
    a=2
    def cube(a):
    b=a**3
    return(b)
    print(cube(a))
    >>> 8
    print(cube(5))
    >>> 125

    • @syedasrar3563
      @syedasrar3563 8 місяців тому

      Yeah

    • @Utkarsh_Singh0_0
      @Utkarsh_Singh0_0 2 місяці тому +1

      but in question it say first we have take input from user

    • @_parker._.editz_
      @_parker._.editz_ 2 місяці тому

      @@Utkarsh_Singh0_0 then do
      while(1):
      a = int(input('Enter number'))
      def cube(a):
      b = a*a*a
      return(b)
      print(cube(a))

  • @AbhishekVerma09
    @AbhishekVerma09 4 роки тому +95

    Bhaiya December tak Python course complete kra dijiye taaki Jan waale PreBoard mein pura padh k jaa ske.
    🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗

    • @guruduttapradhan5637
      @guruduttapradhan5637 3 роки тому +1

      Bhai maine to abhi tak kuch nahi padha

    • @ShahidKhan-jn7lg
      @ShahidKhan-jn7lg 3 роки тому +3

      @@guruduttapradhan5637 I got 96% 😎 in boards due to cancellation 😂 based on class 11 and preboards 😂

  • @PrOgRaMmE_12
    @PrOgRaMmE_12 8 місяців тому +4

    14:10 Another way to solve that problem is to convert both the integers into string and then get the last digit
    def min_ones(a, b):
    a = str(a)
    b = str(b)
    if a[-1] < b[-1]:
    return a
    return b
    print(min_ones(1230, 923)) >>> 1230
    print(min_ones(324, 25)) >>> 324
    print(min_ones(9909, 9990)) >>> 9990

    • @Hegdehog69
      @Hegdehog69 8 місяців тому

      Convert into *string

  • @atharvasarva8262
    @atharvasarva8262 4 роки тому +21

    Will SQL covered in the course??
    Like to support my query👇

    • @Mallya_exe
      @Mallya_exe 4 роки тому +5

      Yes Bro..Bhaiya said it will be ..on Plus..❤️

    • @atharvasarva8262
      @atharvasarva8262 4 роки тому

      @@Mallya_exe but it should be in apni kaksha

    • @Mallya_exe
      @Mallya_exe 4 роки тому

      @@atharvasarva8262 yeah here itself..he just answered the same doubt there.😉

    • @chandrashekharmishra5382
      @chandrashekharmishra5382 4 роки тому

      @@Mallya_exe in cs section on unacadmey.??

    • @Mallya_exe
      @Mallya_exe 4 роки тому

      @@chandrashekharmishra5382 nope iitjee..

  • @harshvardhansingh5903
    @harshvardhansingh5903 4 роки тому +64

    Thanks sir...u are doing a great job...but complete the syllabus fast

  • @deeyaverma6442
    @deeyaverma6442 3 роки тому +19

    I am loving these videos, now my concepts are getting clear.
    Thank you very much to this beautiful channel.💖💖💖

  • @jamesjackson8619
    @jamesjackson8619 4 роки тому +141

    When will the notes be uploaded??

    • @digitalissue6744
      @digitalissue6744 3 роки тому +1

      notes kaha h

    • @mhtcetclassroom136
      @mhtcetclassroom136 3 роки тому +4

      Notes????....boards aa rahe h😭

    • @mr.clowney1525
      @mr.clowney1525 3 роки тому +11

      Abe to bna lo vedio dekh ke

    • @chaitanyamahajan3859
      @chaitanyamahajan3859 3 роки тому +8

      @@mr.clowney1525 abe last mein bola ki "link se question kar loge toh". toh vo link kaha hai?

    • @TiTaN_WASD
      @TiTaN_WASD 3 роки тому +3

      @@chaitanyamahajan3859 bro pata nai ab toh bhagwan bachaega book ke question laga lo

  • @gopikagoyal5582
    @gopikagoyal5582 4 роки тому +86

    Sir plzz gives a notes of this lecture it's humble request 🙏🙏🙏🙏

  • @dhruv5994
    @dhruv5994 3 роки тому +11

    1:28
    frr se list n tuple wali video dekhi 😂😂😂😂😂😂😯😯✌️😂

  • @PavitrAshlia20
    @PavitrAshlia20 8 місяців тому +1

    15:50
    def qala():
    num1=int(input())
    num2=int(input())
    if num1%10 >num2%10:
    print("num2 has smallest ones digit")
    if num1%10

  • @dishu8674
    @dishu8674 4 роки тому +79

    1:28 I literally slapped my face thrice 😭😭 😂😂

    • @Raj-mo8kh
      @Raj-mo8kh 4 роки тому +6

      I hope, u don't need this next time.

    • @dishu8674
      @dishu8674 4 роки тому +2

      @@Raj-mo8kh I hope so too

    • @coder_rc
      @coder_rc 4 роки тому +2

      Did this too

    • @dishu8674
      @dishu8674 4 роки тому

      @@coder_rc 😂😂

    • @teqarine5752
      @teqarine5752 4 роки тому +3

      lol noob!

  • @studyingid28
    @studyingid28 3 роки тому

    Bhaiya void function ke naam par GARGANTULA ki photo dikha kar aapne, mere mann mein apne liye respect aur bda di hai!!!.....
    Kudos to the editor too!!

  • @shivayan1405
    @shivayan1405 Рік тому +8

    sir where can i find the coding practices for the python?
    the discription has no link for the practice sheets

  • @amalghosh2741
    @amalghosh2741 4 роки тому +126

    Now I can learn Python from here...😄😄as I am a student of class 10...

    • @amalghosh2741
      @amalghosh2741 4 роки тому +1

      @kryptex farmy thank you bhaiya..😄😄

    • @amalghosh2741
      @amalghosh2741 4 роки тому +1

      @kryptex farmy yes bhaiya..😄

    • @gopal.
      @gopal. 4 роки тому +10

      Last question
      def func(a,b):
      a = str(a)
      b = str(b)
      print(a,b)
      if a[-1] < b[-1]:
      print(a[ - 1])
      else:
      print(b[ -1 ])
      p = '23'
      q = 34
      func(p,q)

    • @chandrashekharmishra5382
      @chandrashekharmishra5382 4 роки тому +2

      @@gopal. thora edit karna padega aapko
      same unit digits pe wrong output dega program{your}
      def func(a,b):
      a = str(a)
      b = str(b)
      print(a,b)
      if a[-1] < b[-1]:
      print(a[ - 1])
      if a[-1] == b[-1]:
      print(f'both number's unit digits are same')
      else:
      print(b[ -1 ])
      p = '23'
      q = 34
      func(p,q)
      by the way great idea.

    • @gopal.
      @gopal. 4 роки тому +2

      @@chandrashekharmishra5382 Yes man, Thanku so much!💯

  • @atharvasarva8262
    @atharvasarva8262 4 роки тому +43

    Yesterday, I came to know about this python course and I have completed all your videos thankyou bhaiya..❤️

  • @PavitrAshlia20
    @PavitrAshlia20 8 місяців тому

    13:28
    def cube(num=2):
    num=int(input())
    print(num*num*num)
    cube(num=2)
    more perfect way

  • @AmanKumar-ev7ix
    @AmanKumar-ev7ix 4 роки тому +24

    It would be really helpful if you could also tell about how to make class 12 computer project :)

  • @shubhangiroy6672
    @shubhangiroy6672 3 роки тому +2

    Very nice and helpful explanation....solved all my problems......
    12:40 practice time but one thing I noticed first was goku....

  • @kamalsundarsk3164
    @kamalsundarsk3164 3 роки тому +37

    I FEEL BAD FOR THE 60K STUDENTS WHO SLAPPED THEMSELVES

    • @farheen_18
      @farheen_18 2 роки тому +3

      lol. Not one of them now.
      But jab 2 months Pehle dekhi thi for a unit test--- I was one among them 😅😅😅😅

    • @Iqraviqar
      @Iqraviqar 2 місяці тому +1

      Wdym? Isn't this enough

  • @anshmishra3066
    @anshmishra3066 3 роки тому +9

    @10:40.....
    I tried running the third program previously......But this program gave error!.....The problem is that the newer version of python doesn't support giving global in the second line.....
    Giving global a in the very next line after function definition will give appropriate results!!..
    Thank you😃

    • @godlovegaming5416
      @godlovegaming5416 2 роки тому

      bro which line i didn't understand , very next line is 1st line right but it's not working please reply and solve or give the whole code

  • @sristiunfiltered
    @sristiunfiltered 4 роки тому +17

    bhaiya I saw you in my dreams many times... I really want to go to meet you in real life.. I'm your die hearted fan 🥺❤❤❤❤❤❤

  • @shruti6200
    @shruti6200 4 роки тому +10

    Its a humble request Please upload lectures fast ... many have their pre boards in December ..!!

  • @kartikkumarmishra7867
    @kartikkumarmishra7867 4 роки тому +1

    Sir please jald se jald notes provide kar diya kijiye kyunki sir dimag mien rehta hai toh kuch khud se ban jata hai aur kuch notes se ..... Toh sir bas koshish karien ki jald se jald notes provide kar diye jaye ......
    You all are doing a great work

  • @anmol.ag7
    @anmol.ag7 4 роки тому +17

    We all Appreciate the hard work you and your team is doing. Without ques we have faith in you 🙏

  • @Footballkememes7
    @Footballkememes7 4 місяці тому +2

    Legends are watching this video in night for tomorrow exam🗿.
    .
    like if you are one of them😂

  • @gopal.
    @gopal. 4 роки тому +2

    My take on last question:
    def func(a,b):
    a = str(a)
    b = str(b)
    print(a,b)
    if a[-1] < b[-1]:
    print(a[ - 1])
    else:
    print(b[ -1 ])
    p = '23'
    q = 34
    func(p,q)

    • @chandrashekharmishra5382
      @chandrashekharmishra5382 4 роки тому +1

      thora edit karna padega aapko
      same unit digits pe wrong output dega program{your}
      def func(a,b):
      a = str(a)
      b = str(b)
      print(a,b)
      if a[-1] < b[-1]:
      print(a[ - 1])
      if a[-1] == b[-1]:
      print(f'both number's unit digits are same')
      else:
      print(b[ -1 ])
      p = '23'
      q = 34
      func(p,q)

      by the way great idea.

    • @gopal.
      @gopal. 3 роки тому

      @@chandrashekharmishra5382 thanks man!🔥

    • @ritwiz1309
      @ritwiz1309 3 роки тому +1

      I did this question in the same way.

  • @Injured-f6m
    @Injured-f6m 4 роки тому +6

    Sir please complete this python syllabus fast please. !! You're the best sir thanks for all these

  • @muskanchaudhary84
    @muskanchaudhary84 4 роки тому +1

    Thanks harsh bhaiya 😊😊
    Maja aa gaya vedio dekh kar 🎊🎊🎊

  • @ravikumarsrivastav8036
    @ravikumarsrivastav8036 Рік тому +1

    13:20
    def cube(a=2):
    return a**3
    Print(cube(input('enter a no.')))

  • @anujchaudhary1844
    @anujchaudhary1844 Рік тому +2

    Sir last mai practice questions ke ek bhi program ki output nhi ari he
    But Explanation was nice 👍

  • @itachi36595
    @itachi36595 Рік тому +3

    2023 - i m watching one day before exam

  • @phoenix5195
    @phoenix5195 3 роки тому +4

    Amazing lecture!!😍

  • @riyaphogat3550
    @riyaphogat3550 4 роки тому +9

    Firstly, Thanks a lot bhaiya maine 3 hours pehle hi next video k liye comment kiya or aapne video upload b kardi thanks 😊 and also thanks to all the tutors of apni kaksha who do that hardwork for us that's free ....... It takes a lot of time to make and edit these animated videos of the best quality content. Again a very very thank you to your whole team. And keep it up , we are with you.

    • @priyanshu____3
      @priyanshu____3 2 роки тому

      Bhai tere bolne pe upload nhi ki hain pehle se hi record rHi hogi tabhi ki hogi n upload

  • @DwivV
    @DwivV 3 роки тому +4

    Helping me so much to clear my doubts with a very vivid explanation ! Thanku

  • @udaykumarjha9587
    @udaykumarjha9587 4 роки тому +4

    sir ek doubt hai ki cube print krane wale program mein hmne function to call hi nhi kiya fir kaise print ho skta hai .
    plss help

  • @arvy10
    @arvy10 4 роки тому +1

    Thanks aman bhaiya for all these

  • @VishnuKumar-vq4pl
    @VishnuKumar-vq4pl Рік тому +4

    Ye description me questions kha pr h??? Mujhe dikhte hi nhi

  • @prathammishrah
    @prathammishrah Рік тому +2

    2:44 hassi nikal gayi bhai ki XD

  • @ishaangarg8292
    @ishaangarg8292 3 роки тому

    Thankyou bhaiya and team....AB TO PHODENGE

  • @omtomar6818
    @omtomar6818 3 роки тому +6

    58 thousand students slapped their self after watching this video XD

  • @surprabhat1231
    @surprabhat1231 8 місяців тому +2

    Cramming a night before exam......

  • @ritusingh-wc3wi
    @ritusingh-wc3wi 4 роки тому +2

    13:10
    I done this question in a different way.
    Like this.....
    def cube(a) :
    a=int(input())
    return a**3
    b=2
    cube(b).
    If someone is Intelligent enough, then answer for the same.

  • @ayush-bf2rs
    @ayush-bf2rs 4 роки тому

    are bhai bhai bhai kmaal ho yaar

  • @suhanisingh8139
    @suhanisingh8139 3 роки тому

    9:16

  • @omrawat169
    @omrawat169 4 роки тому +1

    Thanks sir 🙂🙂🙂😇😇😇🙂🙂

  • @jainUnnati
    @jainUnnati 4 роки тому +6

    7:53 multipliCCT😂😂😂😂😂😂

  • @gammoron
    @gammoron 3 роки тому

    Bhaiyya at 10;32
    We have to declare the changed global variable in a separate line
    X= 'blah blah'
    def func():
    global X
    X = 'delhi'
    func()
    print(X)
    -------------------------
    Then X will become 'delhi'
    Otherwise it's giving syntax error.

    • @gammoron
      @gammoron 3 роки тому

      If we write in the same line, global X = 'delhi', it's gonna give an error

  • @alihasanamu
    @alihasanamu 3 роки тому

    Eat Well
    Sleep Well
    & Study Well ;)

  • @hariniavanthika11
    @hariniavanthika11 4 роки тому +1

    Thanks bhaiya.

  • @imnoob194
    @imnoob194 4 роки тому +2

    Notes upload krdo plzz....last lecture ke bhi

  • @bytequest1552
    @bytequest1552 4 роки тому +2

    Bhaiya when will notes be uploaded. Upload as soon as possible, please and thanks for all the investments from you and all apni kaksha team members.

  • @sguha8269
    @sguha8269 4 роки тому +2

    I hope this channel reaches 1 M subscribers soon

  • @Gxluy
    @Gxluy 4 роки тому +1

    Thanks sir

  • @mindmentor4981
    @mindmentor4981 4 роки тому +1

    Thank you so much once again

  • @mindmentor4981
    @mindmentor4981 4 роки тому +1

    Bhaiya thank you much and thanks to your team . but aape notes bhi upload karagaye in sab ke . aur appe sql and computer networking bhi cover karagaye . please reply bhaiy

  • @user-ky6hp6hi7v
    @user-ky6hp6hi7v 3 роки тому

    Thank you so much sir 💖
    Sirf aap ki wajah se ajj paper fod k aaya
    Jitna thank you bolu utna kam hai ☺️

  • @anshumanarya9215
    @anshumanarya9215 3 роки тому +1

    Bhyya practice k lie questions daldo pls description pe

  • @hyperlegend2778
    @hyperlegend2778 3 роки тому +25

    BHAIYA DESCRIPTION PE NA HI QUESTIONS HAI NA HI NOTES, PLS UPLOAD QUICKLY
    WE HAVE FULL FAITH IN YOU

  • @benstokes8376
    @benstokes8376 4 роки тому +3

    I'm a bio student but came to like and comment. Aman Bhaiya and Co. 🙏🏼

    • @ramdasvimal5592
      @ramdasvimal5592 4 роки тому

      Bio hai toh kya hua maine computer science li hai physical nahi

    • @benstokes8376
      @benstokes8376 4 роки тому +1

      @@ramdasvimal5592 Mera vaisa combination nahi hai

    • @ramdasvimal5592
      @ramdasvimal5592 4 роки тому

      @@benstokes8376 aapne physical education li hai

    • @benstokes8376
      @benstokes8376 4 роки тому

      @@ramdasvimal5592 Nahi humare yaha sirf Eco , Comp , Bio . 5 sub only

  • @gaurvigupta1218
    @gaurvigupta1218 3 роки тому +2

    Yess ... bhaiya , question bhi nhi hai or notes ka link bhi nhi hai.... please upload it...🙏🙏 request....

  • @abhinavthulal3118
    @abhinavthulal3118 4 роки тому

    Best video ever

  • @mohammadanas7929
    @mohammadanas7929 4 роки тому

    Thku bhaiya ❤️❤️

  • @aishwarya17
    @aishwarya17 2 роки тому +2

    1:27 ... Me watching how the 15.2Lakh subscribers slapped themselves🙂😂

  • @VINAYKUMAR-ms5pz
    @VINAYKUMAR-ms5pz 3 роки тому +2

    bhai bohot saree lectures ke notes nahi hai please de doo

  • @jatinder-jeetu6609
    @jatinder-jeetu6609 4 роки тому +1

    Sir that's great but upload all videos as soon as possible

  • @DhruvMahour_IIT-Delhi
    @DhruvMahour_IIT-Delhi 2 роки тому +1

    1:04 nishant jindal 247👺

  • @neontuts5637
    @neontuts5637 4 роки тому +2

    Thank You sir for covering the scoping concept. You cleared the doubts I had on scoping thank you once again.

  • @shauryaparashar5510
    @shauryaparashar5510 3 роки тому +3

    Notes not available

  • @VapTex
    @VapTex 4 роки тому +1

    Please release all the lectures

  • @deveshsharma6645
    @deveshsharma6645 4 роки тому +2

    Me after 3 slap ...yaad aa gaya....at 1:23

  • @uditansuparida8517
    @uditansuparida8517 3 роки тому +2

    I literallly standed up and slappded myself 3 timez

  • @mindmentor4981
    @mindmentor4981 4 роки тому +1

    Aur physics ka ray optics ke notes bhi upload kar dena

  • @preetijain3562
    @preetijain3562 4 роки тому +1

    14:30
    Can we do it even like this?
    def digit(a,b):
    l1=len(a)
    l2=len(b)
    if a[l1-1]

  • @Sonam_792
    @Sonam_792 3 роки тому +2

    Bhiya is lecture ke notes....?

  • @rashika_zehra
    @rashika_zehra 4 роки тому

    Thank you bahiyya 🙏

  • @yashsharma3280
    @yashsharma3280 3 роки тому +2

    maza aa gaya

  • @gurmeetsinghguru7214
    @gurmeetsinghguru7214 4 роки тому +1

    Please 🙏🙏🙏🙏🙏🙏🙏🙏🙏. Cover a syllabus at least last december. Please sirrr

  • @studiousman
    @studiousman 2 роки тому

    5:40
    lwigtti
    minecraft sheep farm can be used as an illustrative example

  • @Anonymous09070
    @Anonymous09070 2 місяці тому +2

    Brother please teach a bit slow..so that we can digest it well..hope u understand(it's very new to us n)

  • @Injured-f6m
    @Injured-f6m 4 роки тому

    Love you ❤️❤️ so much sir

  • @AdityaSharma-fp8lo
    @AdityaSharma-fp8lo 3 роки тому

    Thanks for the wonderfull lecture Bhaiya!!!!!!!!!!!!!! bass notes aur daal do

  • @bhagwa_dhari2254
    @bhagwa_dhari2254 4 роки тому

    Sir please jldi jldi upload kriye...Lecture plssssss ....Prepared aa gaye hai ...Kripa kriya

  • @pabitrasarkar669
    @pabitrasarkar669 3 роки тому

    2:50

  • @pthimanshusharma
    @pthimanshusharma 4 роки тому +2

    Sir please complete fast....

  • @bharatnamdeo2797
    @bharatnamdeo2797 4 роки тому

    Nice video bhaiya

  • @ashutoshsharma8227
    @ashutoshsharma8227 3 роки тому +1

    bhaiya kuch practice question bhi dedo agar possible hai to

  • @_mohitg
    @_mohitg 4 роки тому +1

    Networking vale ch ki vdeos bhi laoge na sir ??

  • @Injured-f6m
    @Injured-f6m 4 роки тому

    Thank you so much ❤️

  • @abhishekghosh5155
    @abhishekghosh5155 3 роки тому +2

    🙏🏻🙏🏻🙏🏻Sir plzz gives the notes of this lecture it's humble request🙏🏻🙏🏻🙏🏻

  • @EngobingoDips
    @EngobingoDips 2 роки тому +3

    Source : Sumita Arora python ?

  • @shauryaparashar5510
    @shauryaparashar5510 3 роки тому +2

    Notes plz

  • @s.tusharranjanpatro34
    @s.tusharranjanpatro34 3 роки тому

    Good job man

  • @prabhjotkaur3268
    @prabhjotkaur3268 4 роки тому +2

    Plz complete the syllabus sir ... plz plz plz ... you are doing awesome work 🎃🙏🏻

  • @ishmeetsingh943
    @ishmeetsingh943 3 роки тому +1

    sir apne bolla ke description mai ques ka link hai but ptani kyu visible nhi horahi

  • @5hubham_editxx
    @5hubham_editxx 10 місяців тому +3

    Well goku is so weak in study 😂😂.he can fight with gods for a coupke of weeks but can't study gor an hour

  • @gurmeetsinghguru7214
    @gurmeetsinghguru7214 4 роки тому

    Thaakns sooo much 🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰

  • @hemasreevaliveti7952
    @hemasreevaliveti7952 3 роки тому +6

    Where are the links for notes?..... I'm unable to find them

  • @umarsyed853
    @umarsyed853 3 роки тому +2

    Sir when will notes come sir

  • @sahzadhussain12e46
    @sahzadhussain12e46 4 роки тому +1

    *Where is the link for practice questions?*