Session 2 - Operators + If-Else + Loops | CampusX Data Science Mentorship Program | 8th Nov 2022

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • Session 2 - Operators + If-Else + Loops | CampusX Data Science Mentorship Program | 8th Nov 2022
    Enroll in this Programme from our Website - learnwith.campusx.in/
    Course Website Link - campusx1040.graphy.com/s/prev...
    ----------------------------------------------------------------------------------------------------------------------------------------------
    Code - colab.research.google.com/dri...
    Task Link - colab.research.google.com/dri...
    ----------------------------------------------------------------------------------------------------------------------------------------------
    00:00:00 - Start of Session
    00:01:47 - Plan of Action
    00:07:28 - Doubt about today's session
    ✒ Topic - Operators
    00:09:02 - Operators
    00:10:29 - Arithmetic Operators
    00:13:08 - Relational Operators
    00:14:44 - Logical Operators
    00:16:30 - Bitwise Operators
    00:25:30 - Assignment Operators
    00:28:22 - Membership Operators
    00:31:45 - Doubts about operators
    00:35:42 - Solving a problem using Operators
    ✒ Topic - If Else
    00:43:08 - If Else
    01:13:48 - Doubt clearance
    ✒Topic 3 - Modules in Python
    01:14:56 - Modules in Python
    01:17:21 - Math module
    01:19:49 - keyword module
    01:20:34 - Random module
    01:21:29 - datetime module
    01:23:55 - doubt clearance
    ✒ Topic 4 - Loops in Python
    01:24:48 - introduction
    01:29:25 - while loop
    01:35:50 - doubt clearance about while loop
    01:36:25 - while loop with else
    01:38:18 - Build amazing guessing game
    01:47:32 - Doubt clearance
    01:48:05 - for loop
    01:54:58 - Solve a problem
    02:00:00 - End the session

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

  • @Shri__880
    @Shri__880 Год назад +7

    बस एक ही बात कहना चाहता हूं आप अच्छा काम कर रहे हो

  • @user-jm3pp1du7w
    @user-jm3pp1du7w 9 месяцев назад +6

    00:00:00 - Start of Session
    00:01:47 - Plan of Action
    00:07:28 - Doubt about today's session
    ✒ Topic - Operators
    00:09:02 - Operators
    00:10:29 - Arithmetic Operators
    00:13:08 - Relational Operators
    00:14:44 - Logical Operators
    00:16:30 - Bitwise Operators
    00:25:30 - Assignment Operators
    00:28:22 - Membership Operators
    00:31:45 - Doubts about operators
    00:35:42 - Solving a problem using Operators
    ✒ Topic - If Else
    00:43:08 - If Else
    01:13:48 - Doubt clearance
    ✒Topic 3 - Modules in Python
    01:14:56 - Modules in Python
    01:17:21 - Math module
    01:19:49 - keyword module
    01:20:34 - Random module
    01:21:29 - datetime module
    01:23:55 - doubt clearance
    ✒ Topic 4 - Loops in Python
    01:24:48 - introduction
    01:29:25 - while loop
    01:35:50 - doubt clearance about while loop
    01:36:25 - while loop with else
    01:38:18 - Build amazing guessing game
    01:47:32 - Doubt clearance
    01:48:05 - for loop
    01:54:58 - Solve a problem

  • @roshankumar-br7of
    @roshankumar-br7of Год назад +4

    superb way of teaching....

  • @muhammadahsan1448
    @muhammadahsan1448 7 дней назад

    @41:00 example can be solved.
    a=input('Enter a 3 digit integer ')
    b=int(a[0])+int(a[1])+int(a[2])
    print(b)

  • @SatishSingh-ss2wq
    @SatishSingh-ss2wq Год назад +8

    There are some teacher who changes your view and makes teaching interesting and he's the one

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

      Apne ye course purchase Kiya he ???

  • @HirokiKudoGT
    @HirokiKudoGT 6 месяцев назад +3

    again an amazing session to master the basics of python .. 🙌

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

    You are really a perfect teacher, I have been learning coding since 2008 but didnot learn yet to be a good programmer and hope this time I will definitely learn programming. InsaAllah

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

    Thank You Sir, for making it very easy and enjoyable.♥

  • @mobeentariq3381
    @mobeentariq3381 Месяц назад +1

    Im learning alot from u thanks alot sirr❤ stay blessed

  • @anjalibitten4732
    @anjalibitten4732 Год назад +6

    I m learning slow, since I m working but it is helping me alot

  • @sofiyansyed859
    @sofiyansyed859 Год назад +4

    paid course se jyada acha content aap ka sir
    masai walo se toh achac hi hai

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

    Great session

  • @sudipgautam7471
    @sudipgautam7471 28 дней назад +1

    17:45
    Binary 011 3 in decimal
    Binary 110 6 in decimal

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

    finished watching and coding

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

    great session sir #DAY2

  • @Python_3.14
    @Python_3.14 5 месяцев назад

    # correct
    import random as r
    a=r.randint(1,100)
    c=0
    while True:
    x=int(input ("guess a number "))
    if x==a:
    print("correct ",c+1)
    break
    elif x

  • @lionoftech309
    @lionoftech309 11 месяцев назад +3

    Sir love ho gaye ap sir ap bohat acha smajha tay hain

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

    nice explanation

  • @MohammadAfzalofficial
    @MohammadAfzalofficial 5 месяцев назад +1

    day 2 of learning thank you so much bhaiyya itna achha padhane ke liye hamesha kush raho apki har dream puri ho 🤎

    • @user-jk4zl8bw6d
      @user-jk4zl8bw6d 4 месяца назад

      bro guess vala print hoa ab ka sahi sa>

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

    personal bookmark
    35:40
    53:06

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

    Sir you have mentioned the time stamp in description please put this in video too, it would be helpful for us to resume in one click instead of going through the description again and again

    • @Mohit-ni3ei
      @Mohit-ni3ei Месяц назад

      zindagi shorcut se nahi chalti bhaiya!!

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

    Great

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

    2=10 and 3=11

  • @nasehatique9087
    @nasehatique9087 8 месяцев назад

    a= 4
    b=5
    c=3
    Min no is showing 5
    1:06min
    Code
    If a

    • @shivaay3690
      @shivaay3690 4 месяца назад +1

      run again..in my google colab output is coming 3, that is correct.

  • @abdulhannan-go8hl
    @abdulhannan-go8hl Год назад

    22:48
    XOR
    1 and 1 are 0
    0 and 0 are 0
    0 and 1 are 1
    1 and 0 are 1

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

    Bhaiya Mera jupyter hai aur use modules show nahi kar raha hai!
    Solution kya hoga?

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

    Nice

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

    Solution of Dogs and chicken Problem:
    #Input number of heads from user
    heads = int(input("Enter number of heads : "))
    #Input number of legs from user
    legs = int(input("Enter number of legs : "))
    #Total legs of a dog must be equal to the number of heads multiply by 4
    total_legs_for_dog = heads * 4
    #Total legs of a chiken must be equal to the number of heads multiply by 2
    total_legs_for_chiken = heads * 2
    #If number of legs equal to the head multiply by 4 then the animal is dog
    if (legs == total_legs_for_dog):
    print (f"{heads} dogs")
    #If number of legs equal to the head multiply by 2 then the animal is chicken
    elif (legs == total_legs_for_chiken):
    print (f"{heads} chikens")
    # else check how many chicken and dogs are there
    else:
    if (legs != total_legs_for_dog or legs!=total_legs_for_chiken):
    #subtract number of legs from total_legs
    Legs = total_legs_for_dog - legs
    total_chikens = Legs//2
    total_dogs = heads -total_chikens
    print (f"chikens : {total_chikens} and dogs {total_dogs}")

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

    Hi Nitish , I started with the Python series
    how to get the Assignment problems ?

  • @kabeersharma6403
    @kabeersharma6403 4 месяца назад +1

    isme 3 ki binary wrong hai 011 hogi

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

    Sir time-stamp add kar dena video main please 🥺

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

    Yesterday question solution:
    Write a program that will tell the number of dogs and chicken are there when the user will provide the value of total heads and legs.
    heads=int(input("Enter the number of heads: "))
    legs=int(input("Enter the number of legs: "))
    chickens=(legs-heads-heads)/2
    dogs=legs-heads-(3*chickens)
    print("There are ", chickens, "chickens & ", dogs, "dogs are present.")

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

      @@spynom3070 I got it thanks

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

      You know the solution?

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

      ​@@divyangjha8623 your is correct bro. have confident over your answer 🤣🤣🤣

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

      @@spynom3070 😅😅😅

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

    i did not understand guessing game, please anyone guide me.

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

    1:58:38 This logic is wrong right? as it would be 10% or previous year + previous year pop = current.

  • @plashar1545
    @plashar1545 3 дня назад

    Sir population question solution is wrong. As per question pop is increasing @10% each year. Current pop is 10000 then previous years pop should be 9090.9090 not 9000.

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

    can anybody provide me solution for below question:
    '''Given the height, width and breadth of a milk tank,
    you have to find out how many glasses of milk can be obtained? Assume all the inputs are provided by the user.
    Input:
    Dimensions of the milk tank
    H = 20cm, L = 20cm, B = 20cm
    Dimensions of the glass
    h = 3cm, r = 1cm'''

    • @bhaveshparab4812
      @bhaveshparab4812 2 месяца назад

      this could be solved knowing the volume contained by the tank and volume contained by glass, find the volume and use division operator

  • @aagebadhee
    @aagebadhee 2 дня назад

    bhai koi hai jo help kare ga kaha pe questions hai practice ke liye websits pe to nhi mil raha hai

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

    Awesome ❤️❤️

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

    Sir plzz sare video public kr do

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

    problem in 10% population question. (sir is decreasing 10% but it should be the other way around...it should be like 10000/1.1)

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

      because according to sir...9000 + 10% = 10000 which is wrong....9000 + 10% is 9900

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

      @@MrAshish3437 Yes you are right.

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

    sir ek Q.He ap jis pe code likh rhe wo code he kya bcz me pycharm pe code likh rha hu problem aa rhi he aap k batye huye code likhne me to thode plz ise clear kr do

  • @user-jk4zl8bw6d
    @user-jk4zl8bw6d 4 месяца назад

    whenever i print guess number they are stuck in while or if loop any one help

    • @bhaveshparab4812
      @bhaveshparab4812 2 месяца назад

      becuase you skip step to increment iterartion's = i's value -->> i +=1 , which cause the program to stay in loop for infinite time, till the given condition is meet or satisfied

  • @abdulhannan-go8hl
    @abdulhannan-go8hl Год назад +1

    59:00 Beta tumse na ho paye ga 🤣🤣🤣🤣

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

    please criticize this code for printing the sum of all digits of a number: 40:50
    #using while loop :-
    x=y=0
    n = int(input())
    b = str(n)[0]
    while x

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

    campusx team : is the below login correct
    x =int(input('Enter a three digit number: '))
    num_1 = x//100
    num_2 = ((x%100)//10)
    num_3 = (((x%100)%10)//1)
    num = num_2+num_1+num_3
    print('Sum of the three digit number ',x,' is',num)

  • @20-aman
    @20-aman Год назад

    *what'app grp banana hai toh no send karo guys*