#18 Python Tutorial for Beginners | User input in Python | Command Line Input

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

Комментарии • 1,2 тыс.

  • @lijeshjosy5616
    @lijeshjosy5616 6 лет назад +816

    The way you making mistakes intentionally and correcting is the best of this videos which makes best way of learning.. learning from mistakes

    • @meenaganesan1005
      @meenaganesan1005 5 лет назад +8

      yeah that;s right
      He's awesome

    • @anshukumar3928
      @anshukumar3928 5 лет назад +4

      chup .chal nikal,phli fursat

    • @lakshkaushik6366
      @lakshkaushik6366 5 лет назад +3

      @@anshukumar3928 sahi hai bancho

    • @akshaybanaye
      @akshaybanaye 4 года назад +7

      It reminds me of the time front benchers would teach us on the exam day.

    • @horror4097
      @horror4097 4 года назад +5

      Best teacher❤️❤️

  • @vinodkumar283
    @vinodkumar283 3 года назад +66

    Man, the way you explain... Thats how a teacher should be. Thank you so much for all the treasures you create.

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

    The best channel for all programming courses print("Ichata anni proramming course lu nerpinchabadunu")

  • @paulka427
    @paulka427 2 года назад +28

    I tried a Udemy course to learn Python and so far these videos are so much easier to follow. And Navin explains the logic behind things which Udemy doesn't.

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

      Bro From which platform are you doing online course suggest Me

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

      @@chandraprasathr8231 google "python for everyone" it is a great beginner python course, it is free and available on a couple platforms

  • @pavanb4149
    @pavanb4149 4 года назад +6

    One of the best teachers i encountered in my life, extraordinary expression skills.Many people have knowledge but expressing them in such away that all sections of people understands is an excellent job. I am a university student struggling a lot to do my python assignments from last 25 days.I saw many videos and searched lot of websites but i dint get what i want and gave it up.Luckily i saw your channel today ,But just watching first 3 videos i got confidence that i can do it.

  • @AMARJEETKUMAR-rd5mb
    @AMARJEETKUMAR-rd5mb 6 лет назад +13

    Sir you are the one of the best tutor i have ever seen i wish that our college tutor would be like you. I just hope the teachers will get some inspiration from you and try to teach in the same way you teach us.

  • @flyingbirds4235
    @flyingbirds4235 6 лет назад +17

    Sir, You Are The Best. I never had the intention to learn Python but because of your lectures and motivation videos, I started learning.

  • @arunvictor1
    @arunvictor1 Год назад +9

    "Thank you for creating such excellent Python tutorials! I've been practicing from the beginning and have found them to be very helpful. One thing that would make them even better would be if you could provide practice exercises with answers at the end of each video. This would help me to test my knowledge and reinforce what I've learned. Thanks again for all your hard work!"

  • @vardhanchinnu3328
    @vardhanchinnu3328 5 лет назад +80

    from sys import argv
    x=int(argv[1])
    y=int(argv[2])
    z=x+y
    print(z)
    This is also working😎

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

      Super dude

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

      Also this works:
      from sys import *
      x=int(argv[1])
      y=int(argv[2])
      z=x+y
      print(z)

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

      THIS ALSO HAS WORKED, NO NEED TO USE ARGV, AS CONSOLE GIVES A SINGLE NUMBER
      x = int(input('enter a value'))
      y= x**3
      print(y)

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

      @@saisateeshkasaragadda7145 in pycharm you can even edit the code after running. in python IDE you cant edit. indly check clearly in which you have compiled.

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

      Import sys
      X = int(sys.argv(1)
      Z = X**3
      Print(Z)

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

    4 godziny wykladów nie dadzą tyle co 5 minut sluchania tego gościa, uwielbiam go

  • @raulferreira4925
    @raulferreira4925 5 лет назад +256

    Ok ok I don't speak English very well, but I understood more you video than other videos Spanish🙆‍♂️ thank's

  • @om7289
    @om7289 5 лет назад +51

    Homework done....you are teaching awesome better than the paid courses 😊🙏🙏
    x = int(input ("no."))
    z = x**3
    Print (z)

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

      @@meetsakhareliya755 video k end mein dekho red colour k box mein hota hai

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

      Why do you have ther “no”? Thats string not int😅😅
      (I think its joke)

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

      Thank you

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

      x= int(input('enter 1st number'))
      print(x**3)

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

      Can we write this using less line buddy?

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

    You are the best person I saw in any RUclips video
    Any....

  • @HasthiNaresh
    @HasthiNaresh 3 месяца назад +1

    To find the cube of the number taking input from the user
    num=int(input("Enter the number:"))
    print(num**3)

  • @mayankthakur5927
    @mayankthakur5927 2 года назад +25

    1. For Pycharm
    x = int(input("Enter a number:"))
    y = x*x*x
    print("The cube of the number is ",y)
    2. For Command Line
    import sys
    x = int(sys.argv[1])
    y = x*x*x
    print("The cube of the number is ",y)

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

    x = int(input("Enter a number :"))
    y = pow(x,3)
    print("value of cube is :", y)

  • @shailendrakumar7989
    @shailendrakumar7989 4 года назад +17

    Navin Ji I Am A Faculty Of Computer Science, Having 30 Years Experience,
    Your Class Going In Classical Way.
    My Aashribad Is With You.

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

    from math import pow
    a= int(input('enter a number and i will give you its cube'))
    b= 3
    print(int(pow(a, b)))
    and this was another project i made
    y= int(input('enter an integer and i will give you its binary form, hexadecimal form and octal form'))
    print(bin(y))
    print(hex(y))
    print(oct(y))

  • @ayesharasool409
    @ayesharasool409 4 года назад +6

    @telusko using command line
    import sys as s
    a=int(s.argv[1])**3
    print(a)
    Hence the output!:)

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

      Easy code 👍 ,
      I wrote a long code which is :
      def cube(x)
      return x*x*x
      n = int(input(“enter the number : “))
      Cube1 = cube(n)
      Print (“the cube of {0} = {1}”.format(n,cube1))

  • @AKHAN-no1bz
    @AKHAN-no1bz 3 года назад +1

    The fact that you get errors and correct them right after by showing us... thats what i call teaching and learning. 👏👏👏👏

  • @mrlokeshkumar76
    @mrlokeshkumar76 3 года назад +7

    no = int(input("enter the number"))
    print(no ** 3)
    on command line- import sys
    x = int(sys.argv[1])
    print(x ** 3)

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

      can we use print(math. pow(x,3) in both Pycharm as well as in the Command Line?

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

    x=int(input("enter a nmber"))
    y=pow(x,3)
    print(y)

  • @sravanbathini4137
    @sravanbathini4137 4 года назад +6

    instead of converting the string type into integer you can directly take the input from the user in int type
    x = int(input("Enter the 1st number")
    y = int(input("Enter the 2nd number")
    z = x + y
    print(z)
    or return(z)

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

      didn't he already say that in the video

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

      Lol

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

    Sir you are the only channel who doesn't hides his mistakes Thanks a lot

  • @hasibkhan8600
    @hasibkhan8600 5 лет назад +24

    1st Q Answer:
    num = int(input("Enter a number: "))
    result = num ** 3
    print(num, "Cube result is: ", result)

    • @techops6716
      @techops6716 5 лет назад +4

      x = int(input("enter the cube number"))
      cube = x*x*x
      print(x,"cube result is",cube)
      " is my logic corrct"

    • @azazzelx
      @azazzelx 5 лет назад +16

      @@techops6716 can simplified with:
      x=int(input("Enter the number to be cubed "))**3
      print("The result is",x)

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

      @@azazzelx very efficient 🔥

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

      1st answer
      X = int(input("enter the number to be cubed")) **3
      If x! = int:
      print(x)

  • @praneethkumar898
    @praneethkumar898 10 месяцев назад +1

    import math
    x= int(input("enter the number"))
    a=math.pow(x,3)
    b=print(a)

  • @creativityunleashed9101
    @creativityunleashed9101 5 лет назад +10

    ------command line-----
    import sys
    x = int(sys.argv[1])
    y = x ** 3
    print(y)

    • @AKHIL.438
      @AKHIL.438 4 месяца назад

      It's showing eof error how can I overcome it please reply 😢😢😢😢😢😅😢😢😢

  • @Rakeshkumar-li7fs
    @Rakeshkumar-li7fs 4 года назад

    I have just paused the video in the middle and came here to say..you are awesome,great way of teaching in simple language without complicating things..you are simply superb,mind blowing..I want you as my teacher of programming,please.

  • @sharmak2746
    @sharmak2746 5 лет назад +13

    Hi Navin, i am following your videos of python and it's is simply amazing. iam done around 18 videso so far and going to complete the python series in one or two weeks. Do you have have some such similar Java videos as well...pls do share the links if there. Thanks a lot again.

  • @urvashigupta5813
    @urvashigupta5813 5 лет назад +8

    using input:
    import math
    x = int(input("Enter a no. "))
    cube = math.pow(x,3)
    cube

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

      this one is wrong

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

      @@kannant3847
      cube=int(input('enter number to find cube
      ='))
      print(int(cube**3))
      this works i think

  • @yasmeenkarachiwala9612
    @yasmeenkarachiwala9612 5 лет назад +13

    Assignment:
    import math as m
    x = int(input("Enter the number: "))
    print (int(m.pow(x,3)))

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

      good one

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

      plz help i wrote the same way but getting error, i made a little change
      import math as m
      x = int(input("Enter the number: "))
      print (int('the result is',m.pow(x,3)))
      and the error is
      TypeError: 'float' object cannot be interpreted as an integer
      y bro plz tell me

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

      @@ajaybhandari9215 bro if u have defined int then use integers only not floats
      Floats-5.6 or anything with a decimal point
      Integer are set of positive and negative numbers not fraction or decimal

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

      @@ajaybhandari9215 remove this thing from the code 'the result is' then it works

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

      @@ajaybhandari9215
      x = int(input("Enter the number: "))
      print ('the result is',int(m.pow(x,3)))

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

    awesome :) 10:09 "data got corrupt while transferring from brain to mouth" it show the real programming mind awesome!!!

  • @madhusudhanreddygone2667
    @madhusudhanreddygone2667 5 лет назад +24

    at 4:26 if this this not work i'll stop this video.... don't do that we're depending on your videos......if this tutorial is not understanding ...keep watching...
    :::))))

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

    X=int(input("enter the number"))
    Z=x**3
    Print(z)

  • @mahidhardevisetty4581
    @mahidhardevisetty4581 4 года назад +6

    a=int(input("enter a number"))**3
    Print(a)

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

      from math import pow
      x=int(input('Enter the Number'))
      y=pow(x,3)
      print(y)

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

    sir i do it the assignment i really happy with this😀

  • @AshokKumar-mk1nr
    @AshokKumar-mk1nr 4 года назад +7

    Really, It's very interesting.... the way you carry the session is awesome.. intentionally you did mistake and rectify it, that is experience.... really its very useful
    .

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

    For first problem its so easy you can use
    ---------
    X = input("write 1st number")
    Y = input("write 2st number")
    print(x+y)
    ---------------
    Its actually worked 😊😊

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

    print("Fnding cube of a number ")
    import sys
    x=int(sys.argv[1])
    y=x**3
    print(y)
    is the answer for the assignment
    I am enjoying watching these series, thankyou navin sir

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

    Fantastic teaching

  • @cadillacjerm760
    @cadillacjerm760 6 лет назад +19

    you are a great teacher bro, keep it up! look forward to learning programming under your guidance!
    a=you're
    b=great
    print (a + b)

    • @rohankiratsata1161
      @rohankiratsata1161 5 лет назад +14

      There is a mistake bro...
      If Want to Store Any Sentence or Anything Character then It Should Be in quotes (type is String)
      Like this: a = "Hello"
      b="How r u"
      Print(a+b)...

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

      @@rohankiratsata1161 also, it would print HelloHow r u so you need to add space after hello

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

    I really had to pause the video and appreciate your teaching methods.

  • @ManoharNaidu-u2c
    @ManoharNaidu-u2c 3 месяца назад +7

    who watching this tutorial from 2024

  • @subhanquliyev4400
    @subhanquliyev4400 5 лет назад

    to make a mistake and solve this problem step by step is the best teaching method for me not only for me but also for all watchings.thank u

  • @HeavenVacancy
    @HeavenVacancy 3 года назад +7

    Little late to the fanfare party, but I agree! this man deserves some recognition among upcoming programmers.

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

    num = int(input("Enter a number to find its cube: "))
    cube = num ** 3
    print("The cube of", num, "is", cube)

  • @kilprab
    @kilprab 4 года назад +4

    I have no programming background and I am glad I found your channel. Your way of explaining things is super helpful to me and highly motivating. Keep up the good work. Thank you Navin!

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

    Reddy garu mee teaching mindblowing Anthe 👏👏

  • @abhilashdevarakonda5991
    @abhilashdevarakonda5991 6 лет назад +72

    a= int(input('enter the value'))
    print(a**3)

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

    Sir, your video is helping me a lot ...I will be watching all your videos on python and much more....thank you...

  • @amrutachawda47
    @amrutachawda47 4 года назад +50

    I have done it using pow ..
    import math
    x= int(input("enter a number"))
    print(math.pow(x,3))

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

      x=int(input("Enter a number:"))
      print(pow(x,3))

    • @cabinetminister1220
      @cabinetminister1220 4 года назад +4

      x=int(input("Enter Num"))
      print(x**3)
      *Without Function*

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

      @@cabinetminister1220 yes

    • @Amitkumar-wn4nl
      @Amitkumar-wn4nl 4 года назад +5

      a=int(input("Enter number for cube"))
      c=a*a*a
      print(c)

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

      X = int(input("Enter a number"))
      from math import pow
      print(pow(X,3))

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

    the you explain things even a kid will be able to understand its truly a beginners course , thank you so much sir

  • @RiyasMohammed-ib9jy
    @RiyasMohammed-ib9jy 5 лет назад +10

    yas=int(input("enter my number"))
    X=yas ** 3
    Print(X)

  • @parthvats4209
    @parthvats4209 5 лет назад +2

    sir the homework is
    in pycharm
    x=int(input("enter the number - "))
    z = x **3
    print ("the cube of ", x ,'is ', z)
    hope it is correct
    you are the best teacher

  • @akhileshchanda4828
    @akhileshchanda4828 5 лет назад +6

    import math
    a=int(input('enter a number'))
    b=math.pow(a,3)
    print(b)

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

      It should be
      a = float (input ("enter your number ")
      Right?

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

      @@roopa6975 yes u can but the input must be float

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

      @@akhileshchanda4828 my quest is if you define it as int, then what should be the output if you enter a float value like 2.3? It won't give you a result. But if you define it as float, the input can be integer or a floating value. It gives output for both.

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

    ur teaching way is awesome ... even a 10 year child cam understand clearly😍

  • @Ganitacharya
    @Ganitacharya 4 года назад +5

    x=int(input('Enter a number'))
    z=pow(x,3)
    print('The cube of'+" " +str(x)+" "+'is'+" "+str(z))

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

      Yeah it is working even we are not importing math function

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

    I have many doubts I'm started python course your video 🔥🔥🔥 completely understand 👍👍

  • @adityamore2616
    @adityamore2616 4 года назад +8

    That last 'agrv' by importing from sys module is amazing :-)

  • @SanjeetKumar-eg8xf
    @SanjeetKumar-eg8xf 4 года назад

    Best teacher i have ever met. Thanks a lot sir.

  • @bhumikalamba186
    @bhumikalamba186 6 лет назад +14

    The string point is very good. not many tutorials mention this

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

    from math import pow
    x = int(input('enter the number'))
    y = pow(x,3)
    print(x)
    print(y)

  • @freakmania2771
    @freakmania2771 5 лет назад +105

    Print(“you are best teacher your python love you 3000”)

    • @rajatrawat4284
      @rajatrawat4284 5 лет назад +42

      NameError: 'Print' is not defined
      😂
      'P' should be of lower case bro..!

    • @o-p-bgaming1274
      @o-p-bgaming1274 4 года назад +1

      @@rajatrawat4284 😂

  • @Jawsjawsjawsrg
    @Jawsjawsjawsrg 5 месяцев назад

    Thank you for this. I was training with the 100 days to code challenge and was stuck on a problem that I needed to solve, and this helped me to find the solution. Funny thing, I accidently hit submit before the test, and it worked.

  • @srinivasmeesala2518
    @srinivasmeesala2518 4 года назад +4

    s=int(input ("enter the value"))
    print (math.pow(4,3))

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

      correct the mistake: print (math.pow(s,3))

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

    Ur explanation way is super sir....im understanding very easily

  • @randolfkumbah7190
    @randolfkumbah7190 5 лет назад +8

    import math
    x = int(input("Enter To Get It Cube: "))
    y = int(input("The power of: "))
    cube = math.pow(x,y)
    print(cube)

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

    from math import pow,sqrt
    x=int(input("enter a number to find power of it:: "))
    print(pow(x,2))
    y=int(input("enter a number to find sqrt of it:: "))
    print(sqrt(y))
    output___
    enter a number to find power of it:: 5
    25.0
    enter a number to find sqrt of it:: 25
    5.0

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

    3:55
    Actually you could add int function before input function .. thats saves your time
    Like
    X=int(input("Enter 1st number"))
    Y=int(input("Enter 2nd Number"))
    Then you directly run the code and input the numbers and get the answers.
    And you don't have to add Another line of A & B and all..
    I hope this helps

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

      Yeah he actually mentioned that in this video.

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

      @@omkarjsuvarna i think he didn't watch the full video before commenting this ...

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

    This python video is still the best i have watched on youtube. kudos

  • @pavanmudhole2065
    @pavanmudhole2065 5 лет назад +14

    from sys import argv
    x=int(argv[1])
    y=x**3
    print(y)

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

    Hello navin as for the quiz, this’s what I did and it worked
    1. d = int(input(“enter the number to be squared ”))
    2. f = d**3
    3. print(f)

  • @shilpananda6335
    @shilpananda6335 5 лет назад +19

    Can you teach some other recent topics like machine learning

  • @BC-bf6cp
    @BC-bf6cp 2 года назад

    Thank you for very clear relevant and lucid explanation

  • @sathishkumars2380
    @sathishkumars2380 4 года назад +4

    Hey Navin, thank you so much for the sessions !!!
    I do have a doubt. Can't we use argv function in PyCharm IDE ?

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

    I am using Jupyter, I got confused at the beginning, since the IDE was not fetching the values, but good thing, I managed to get it right. You have to research for a solution. Thank you Mr. Alien.

  • @nuwanmadushanka8501
    @nuwanmadushanka8501 5 лет назад +13

    print("ThankYou :) ")

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

    Just started my journey with programming. Thank you so much for your content, I have learned so much!

  • @mdmakadia6904
    @mdmakadia6904 4 года назад +4

    0:07 I like this moment too much

  • @charantejasakavarapu4433
    @charantejasakavarapu4433 4 месяца назад

    a=int(input("Enter the number:))
    print(a**3)
    output:
    Enter the number:5
    125

  • @SantoshSahu-nd1bw
    @SantoshSahu-nd1bw 6 лет назад +10

    using input: -
    print(int(input("Enter no to find cube: "))**3)
    using the command line:-
    import sys
    print((int(sys.argv[1]))**3)

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

    a = int(input("Enter a number: "))
    b = int(input("Enter a number: "))
    print(pow(a,b))

  • @vishvatrivedi6650
    @vishvatrivedi6650 5 лет назад +6

    1st method:
    x=int(input("Enter a number: ")
    y=x**3
    print(y)
    2nd method:
    from math import *
    x=float(input("Enter a number"))
    y=pow(x,3)
    print(y)

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

    I love your fun style of teaching, I am learning as well as enjoying.💕💕💕💕

  • @himelroy7941
    @himelroy7941 5 лет назад +4

    print("just love it")

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

    Thanks Anna..they way u tech is very special....
    By the end of python course I have to learn 2 things one is python and second is the way u teach 😃 ..
    Of course it's impossible to get second but I will try🤘😆

  • @milanbariya4914
    @milanbariya4914 4 года назад +4

    🤓 Quiz Answer 🤓
    1) Write a code to find the cube of number
    Answer:
    number = int(input ("Please enter a number to find cube"))
    Print (number**3).

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

      Where can I find quiz questions that he mentioned

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

      @@harisrashid0773 At the end of video.

  • @pramodyerra7906
    @pramodyerra7906 2 года назад +2

    x=int(input("enter number"))
    y=int(input("enter number"))
    z= x*y*y
    print(z)

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

    🤓 Quiz Answer 🤓
    Take the input from the user using input () and also using command line.
    Answer:
    1) Using input method
    number = int (input ("Enter any number :"))
    Print (number)
    2) Using command line
    Import sys
    number = int( sys.argv[1] )
    print ( number )

  • @sharad3295
    @sharad3295 2 года назад +2

    1:56 the way he teaches from here 🖤

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

    thank u so much sir..sir we want lecturers like u in our college..sir i have seen many videos regarding python but i was not able to write any code for given program..one of my friend suggested me to learn python from your channel and it really helped me a lot..the way of ur teaching is really awesome..thanks sir once again

    • @ManuKumar-rf5gb
      @ManuKumar-rf5gb 2 года назад +1

      name = input("what is your name?: ")
      age = int(input("how old are you?: "))
      age = age + 1
      print("Hello "+name)
      print("you are "+str(age)+" years old") why here give str plz explain

    • @uday2159
      @uday2159 2 года назад +2

      @@ManuKumar-rf5gb int type we cannot concatenate with str, so you need to change data type into str and concatenate with + 🙂

    • @ManuKumar-rf5gb
      @ManuKumar-rf5gb 2 года назад

      @@uday2159 tq 😊

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

    sticking to this channel for coding knowledge...awesome teacher

  • @shalumov
    @shalumov 5 лет назад +2

    This is a great tutorial!!!! Thank you to the teacher!
    My version of the Homework:
    import sys
    import math
    if len(sys.argv) > 2:
    print("Too many arguments entered on command line")
    if len(sys.argv) == 2:
    a = int(sys.argv[1])
    print("The cube of", a, "is:", math.pow(a, 3))
    else:
    a = int(input("Enter a number: "))
    print("The cube of", a, "is:", a**3)

  • @darksoul5802
    @darksoul5802 5 лет назад +1

    X=int(input(enter number))
    Import math
    Y=math.pow(x,3)
    Print(int(y))

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

    superb sir i love the way you are teaching thank u very much

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

    a = int(input("enter first number"))
    b = int(input("enter second number"))
    print(a*b)
    simplify by function calling function

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

    Learning From The Mistakes Is Nice Bro

  • @ritikapasricha4403
    @ritikapasricha4403 5 лет назад +2

    x = int(input("Enter a number you want cube of"))
    y = x**3
    print(y)

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

    you are so good at explaining , not irritating like others

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

    Great work sir, we are very blessed to have a teacher like you, thank u so much