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

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

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

  • @mistykurien6146
    @mistykurien6146 3 года назад +60

    The LEGB explanation was superb! Thank you!

  • @amisha7380
    @amisha7380 9 месяцев назад +8

    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 9 месяцев назад

      Yeah

    • @Utkarsh_Singh0_0
      @Utkarsh_Singh0_0 3 месяца назад +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))

  • @deeyaverma6442
    @deeyaverma6442 3 года назад +20

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

  • @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 😂

  • @harshvardhansingh5903
    @harshvardhansingh5903 4 года назад +64

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

  • @gopikagoyal5582
    @gopikagoyal5582 4 года назад +86

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

  • @atharvasarva8262
    @atharvasarva8262 4 года назад +43

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

  • @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

  • @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 🙏

  • @shivayan1405
    @shivayan1405 Год назад +8

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

  • @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!

  • @amalghosh2741
    @amalghosh2741 4 года назад +128

    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!💯

  • @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!!

  • @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 🥺❤❤❤❤❤❤

  • @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....

  • @DwivV
    @DwivV 3 года назад +4

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

  • @muskanchaudhary84
    @muskanchaudhary84 4 года назад +1

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

  • @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

  • @RehanFazal-j9f
    @RehanFazal-j9f 10 дней назад

    9:47 but we have not called fun2() function how print(a,b)will run?

  • @PavitrAshlia20
    @PavitrAshlia20 9 месяцев назад +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

  • @AmanKumar-ev7ix
    @AmanKumar-ev7ix 4 года назад +24

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

  • @shruti6200
    @shruti6200 4 года назад +10

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

  • @adityaa.28
    @adityaa.28 3 года назад +4

    Amazing lecture!!😍

  • @Injured-f6m
    @Injured-f6m 4 года назад +6

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

  • @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..

  • @arvy10
    @arvy10 4 года назад +1

    Thanks aman bhaiya for all these

  • @parvarora5541
    @parvarora5541 4 года назад +3

    Is there a syntax error in 3rd program at 10:48 ?
    I tried on Python and it is showing error.

    • @kaustubhgawade9269
      @kaustubhgawade9269 4 года назад +1

      3rd line : global a
      *= 15 must not be written

    • @saurabh7955
      @saurabh7955 3 года назад +2

      @@kaustubhgawade9269 thanks for giving answer

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

      thanks for asking question

  • @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]

  • @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

  • @PrOgRaMmE_12
    @PrOgRaMmE_12 9 месяцев назад +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 9 месяцев назад

      Convert into *string

  • @wizlittleboyff146
    @wizlittleboyff146 11 дней назад

    14:47 sir a[-1] and b[-1] ko compare kara kr ke bhi toh bata skte ?
    am i right?

  • @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

  • @dhruv5994
    @dhruv5994 3 года назад +11

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

  • @VishnuKumar-vq4pl
    @VishnuKumar-vq4pl Год назад +4

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

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

    8:30 enclosing mtlb??

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

    9:59⏸, global a=15 will give error??

  • @omrawat169
    @omrawat169 4 года назад +1

    Thanks sir 🙂🙂🙂😇😇😇🙂🙂

  • @shauryaparashar5510
    @shauryaparashar5510 3 года назад +2

    Notes plz

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

    Thankyou bhaiya and team....AB TO PHODENGE

  • @VINAYKUMAR-ms5pz
    @VINAYKUMAR-ms5pz 3 года назад +2

    bhai bohot saree lectures ke notes nahi hai please de doo

  • @neontuts5637
    @neontuts5637 4 года назад +2

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

  • @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 ☺️

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

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

  • @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.

  • @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

  • @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.

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

    15:52
    hm is program m elif use nahi kr skte kya????

  • @mindmentor4981
    @mindmentor4981 4 года назад +1

    Thank you so much once again

  • @sguha8269
    @sguha8269 4 года назад +2

    I hope this channel reaches 1 M subscribers soon

  • @THUNDER.GAMING_021
    @THUNDER.GAMING_021 11 дней назад

    15:40
    if() , elif() and the else()
    Hoga
    if() 3 times use kar sakte hai

  • @hariniavanthika11
    @hariniavanthika11 4 года назад +1

    Thanks bhaiya.

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

    Notes not available

  • @PavitrAshlia20
    @PavitrAshlia20 9 месяцев назад

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

  • @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

  • @surprabhat1231
    @surprabhat1231 9 месяцев назад +2

    Cramming a night before exam......

  • @imnoob194
    @imnoob194 4 года назад +2

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

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

    bhaiya, 10:49 pe global a=15 me error show ho rha h

  • @ayush-bf2rs
    @ayush-bf2rs 4 года назад

    are bhai bhai bhai kmaal ho yaar

  • @sportsspirit8471
    @sportsspirit8471 4 года назад +1

    Bhai koi ek baar muje pdf bta doo kha h questions ke

  • @gaurvigupta1218
    @gaurvigupta1218 3 года назад +2

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

  • @Sonam_792
    @Sonam_792 3 года назад +2

    Bhiya is lecture ke notes....?

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

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

  • @gurmeetsinghguru7214
    @gurmeetsinghguru7214 4 года назад +1

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

  • @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

  • @dakshjain6673
    @dakshjain6673 4 года назад +2

    NOTES?

  • @Injured-f6m
    @Injured-f6m 4 года назад

    Love you ❤️❤️ so much sir

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

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

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

    Bhyya practice k lie questions daldo pls description pe

  • @rashika_zehra
    @rashika_zehra 4 года назад

    Thank you bahiyya 🙏

  • @ashishpradhan748
    @ashishpradhan748 4 года назад +1

    Notes are not in discription

  • @Gxluy
    @Gxluy 4 года назад +1

    Thanks sir

  • @sahzadhussain12e46
    @sahzadhussain12e46 4 года назад +1

    *Where is the link for practice questions?*

  • @umarsyed853
    @umarsyed853 3 года назад +2

    Sir when will notes come sir

  • @hemasreevaliveti7952
    @hemasreevaliveti7952 3 года назад +6

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

  • @VapTex
    @VapTex 4 года назад +1

    Please release all the lectures

  • @jatinder-jeetu6609
    @jatinder-jeetu6609 4 года назад +1

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

  • @KGPPKPVLOGS
    @KGPPKPVLOGS 9 месяцев назад +2

    Day after tomorrow is my cs board exam how I score good marks I done SQL and networking but remained programming portion 🙏

  • @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

  • @abhinavthulal3118
    @abhinavthulal3118 4 года назад

    Best video ever

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

    2:44 hassi nikal gayi bhai ki XD

  • @AdityaSharma-fp8lo
    @AdityaSharma-fp8lo 3 года назад

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

  • @stackCrafters
    @stackCrafters 3 года назад +2

    Please provide notes of lecture

  • @Anonymous09070
    @Anonymous09070 3 месяца назад +2

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

  • @RANJEETKUMAR-bc1su
    @RANJEETKUMAR-bc1su 4 года назад +1

    Link is not given in description

  • @srgamingtech1168
    @srgamingtech1168 Год назад +3

    Notes please 😀

  • @abhishekghosh5155
    @abhishekghosh5155 3 года назад +2

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

  • @mohammadanas7929
    @mohammadanas7929 4 года назад

    Thku bhaiya ❤️❤️

  • @gurmeetsinghguru7214
    @gurmeetsinghguru7214 4 года назад

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

  • @desicoder4755
    @desicoder4755 2 года назад +1

    where are the more problems for practice , not finding it in the description ,, help me

  • @pthimanshusharma
    @pthimanshusharma 4 года назад +2

    Sir please complete fast....

  • @_mohitg
    @_mohitg 4 года назад +1

    Networking vale ch ki vdeos bhi laoge na sir ??

  • @studioustok
    @studioustok 2 года назад

    Description mai Q kahan h sir?

  • @AbhishekSharma-wt3st
    @AbhishekSharma-wt3st 4 года назад +1

    Such a great explaination sir thank u

  • @bharatnamdeo2797
    @bharatnamdeo2797 4 года назад

    Nice video bhaiya

  • @ishaniishu2525
    @ishaniishu2525 4 года назад

    Thank you so much sir.. Ap bhot acha prhate hai 😇😇😇😇

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

    how can we solve practice problems which is instructed by sir at the end of lecture plzz bhaiya help 🙏🏻

  • @s.tusharranjanpatro34
    @s.tusharranjanpatro34 3 года назад

    Good job man

  • @Injured-f6m
    @Injured-f6m 4 года назад

    Thank you so much ❤️

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

    which text editor you have used

  • @Akash-mm4lp
    @Akash-mm4lp 6 месяцев назад +1

    bhaiya iska pdf kaha hai