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.
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.
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.
"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!"
@@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.
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)
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))
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))
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)
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.
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.
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
@@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
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... :::))))
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 .
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 😊😊
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
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)...
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!
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 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.
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.
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
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
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.
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🤘😆
🤓 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 )
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
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
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)
The way you making mistakes intentionally and correcting is the best of this videos which makes best way of learning.. learning from mistakes
yeah that;s right
He's awesome
chup .chal nikal,phli fursat
@@anshukumar3928 sahi hai bancho
It reminds me of the time front benchers would teach us on the exam day.
Best teacher❤️❤️
Man, the way you explain... Thats how a teacher should be. Thank you so much for all the treasures you create.
The best channel for all programming courses print("Ichata anni proramming course lu nerpinchabadunu")
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.
Bro From which platform are you doing online course suggest Me
@@chandraprasathr8231 google "python for everyone" it is a great beginner python course, it is free and available on a couple platforms
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.
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.
Sir, You Are The Best. I never had the intention to learn Python but because of your lectures and motivation videos, I started learning.
🤡
"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!"
from sys import argv
x=int(argv[1])
y=int(argv[2])
z=x+y
print(z)
This is also working😎
Super dude
Also this works:
from sys import *
x=int(argv[1])
y=int(argv[2])
z=x+y
print(z)
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)
@@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.
Import sys
X = int(sys.argv(1)
Z = X**3
Print(Z)
4 godziny wykladów nie dadzą tyle co 5 minut sluchania tego gościa, uwielbiam go
Ok ok I don't speak English very well, but I understood more you video than other videos Spanish🙆♂️ thank's
Gr8
@@koumudidurga3827 9ce
😂😂😂😂😂
2rue
10q
Homework done....you are teaching awesome better than the paid courses 😊🙏🙏
x = int(input ("no."))
z = x**3
Print (z)
@@meetsakhareliya755 video k end mein dekho red colour k box mein hota hai
Why do you have ther “no”? Thats string not int😅😅
(I think its joke)
Thank you
x= int(input('enter 1st number'))
print(x**3)
Can we write this using less line buddy?
You are the best person I saw in any RUclips video
Any....
To find the cube of the number taking input from the user
num=int(input("Enter the number:"))
print(num**3)
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)
x = int(input("Enter a number :"))
y = pow(x,3)
print("value of cube is :", y)
Navin Ji I Am A Faculty Of Computer Science, Having 30 Years Experience,
Your Class Going In Classical Way.
My Aashribad Is With You.
Lol
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))
@telusko using command line
import sys as s
a=int(s.argv[1])**3
print(a)
Hence the output!:)
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))
The fact that you get errors and correct them right after by showing us... thats what i call teaching and learning. 👏👏👏👏
no = int(input("enter the number"))
print(no ** 3)
on command line- import sys
x = int(sys.argv[1])
print(x ** 3)
can we use print(math. pow(x,3) in both Pycharm as well as in the Command Line?
x=int(input("enter a nmber"))
y=pow(x,3)
print(y)
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)
didn't he already say that in the video
Lol
Sir you are the only channel who doesn't hides his mistakes Thanks a lot
1st Q Answer:
num = int(input("Enter a number: "))
result = num ** 3
print(num, "Cube result is: ", result)
x = int(input("enter the cube number"))
cube = x*x*x
print(x,"cube result is",cube)
" is my logic corrct"
@@techops6716 can simplified with:
x=int(input("Enter the number to be cubed "))**3
print("The result is",x)
@@azazzelx very efficient 🔥
1st answer
X = int(input("enter the number to be cubed")) **3
If x! = int:
print(x)
import math
x= int(input("enter the number"))
a=math.pow(x,3)
b=print(a)
------command line-----
import sys
x = int(sys.argv[1])
y = x ** 3
print(y)
It's showing eof error how can I overcome it please reply 😢😢😢😢😢😅😢😢😢
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.
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.
using input:
import math
x = int(input("Enter a no. "))
cube = math.pow(x,3)
cube
this one is wrong
@@kannant3847
cube=int(input('enter number to find cube
='))
print(int(cube**3))
this works i think
Assignment:
import math as m
x = int(input("Enter the number: "))
print (int(m.pow(x,3)))
good one
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
@@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
@@ajaybhandari9215 remove this thing from the code 'the result is' then it works
@@ajaybhandari9215
x = int(input("Enter the number: "))
print ('the result is',int(m.pow(x,3)))
awesome :) 10:09 "data got corrupt while transferring from brain to mouth" it show the real programming mind awesome!!!
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...
:::))))
X=int(input("enter the number"))
Z=x**3
Print(z)
a=int(input("enter a number"))**3
Print(a)
from math import pow
x=int(input('Enter the Number'))
y=pow(x,3)
print(y)
sir i do it the assignment i really happy with this😀
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
.
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 😊😊
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
Fantastic teaching
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)
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)...
@@rohankiratsata1161 also, it would print HelloHow r u so you need to add space after hello
I really had to pause the video and appreciate your teaching methods.
who watching this tutorial from 2024
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
Little late to the fanfare party, but I agree! this man deserves some recognition among upcoming programmers.
num = int(input("Enter a number to find its cube: "))
cube = num ** 3
print("The cube of", num, "is", cube)
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!
Reddy garu mee teaching mindblowing Anthe 👏👏
a= int(input('enter the value'))
print(a**3)
.
import sys
x = int(sys.argv[1])
print(x**3)
Sir, your video is helping me a lot ...I will be watching all your videos on python and much more....thank you...
I have done it using pow ..
import math
x= int(input("enter a number"))
print(math.pow(x,3))
x=int(input("Enter a number:"))
print(pow(x,3))
x=int(input("Enter Num"))
print(x**3)
*Without Function*
@@cabinetminister1220 yes
a=int(input("Enter number for cube"))
c=a*a*a
print(c)
X = int(input("Enter a number"))
from math import pow
print(pow(X,3))
the you explain things even a kid will be able to understand its truly a beginners course , thank you so much sir
yas=int(input("enter my number"))
X=yas ** 3
Print(X)
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
import math
a=int(input('enter a number'))
b=math.pow(a,3)
print(b)
It should be
a = float (input ("enter your number ")
Right?
@@roopa6975 yes u can but the input must be float
@@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.
ur teaching way is awesome ... even a 10 year child cam understand clearly😍
x=int(input('Enter a number'))
z=pow(x,3)
print('The cube of'+" " +str(x)+" "+'is'+" "+str(z))
Yeah it is working even we are not importing math function
I have many doubts I'm started python course your video 🔥🔥🔥 completely understand 👍👍
That last 'agrv' by importing from sys module is amazing :-)
Best teacher i have ever met. Thanks a lot sir.
The string point is very good. not many tutorials mention this
from math import pow
x = int(input('enter the number'))
y = pow(x,3)
print(x)
print(y)
Print(“you are best teacher your python love you 3000”)
NameError: 'Print' is not defined
😂
'P' should be of lower case bro..!
@@rajatrawat4284 😂
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.
s=int(input ("enter the value"))
print (math.pow(4,3))
correct the mistake: print (math.pow(s,3))
Ur explanation way is super sir....im understanding very easily
import math
x = int(input("Enter To Get It Cube: "))
y = int(input("The power of: "))
cube = math.pow(x,y)
print(cube)
import sys
x = int(sys.argv[1])
print(x**3)
Why y? Cube means to the power 3
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
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
Yeah he actually mentioned that in this video.
@@omkarjsuvarna i think he didn't watch the full video before commenting this ...
This python video is still the best i have watched on youtube. kudos
from sys import argv
x=int(argv[1])
y=x**3
print(y)
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)
Can you teach some other recent topics like machine learning
+1
@@rohanchauhan5362 +69
@@mayurkalsekar524 lol
Thank you for very clear relevant and lucid explanation
Hey Navin, thank you so much for the sessions !!!
I do have a doubt. Can't we use argv function in PyCharm IDE ?
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.
print("ThankYou :) ")
Just started my journey with programming. Thank you so much for your content, I have learned so much!
0:07 I like this moment too much
a=int(input("Enter the number:))
print(a**3)
output:
Enter the number:5
125
using input: -
print(int(input("Enter no to find cube: "))**3)
using the command line:-
import sys
print((int(sys.argv[1]))**3)
List index out of range
a = int(input("Enter a number: "))
b = int(input("Enter a number: "))
print(pow(a,b))
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)
I love your fun style of teaching, I am learning as well as enjoying.💕💕💕💕
print("just love it")
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🤘😆
🤓 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).
Where can I find quiz questions that he mentioned
@@harisrashid0773 At the end of video.
x=int(input("enter number"))
y=int(input("enter number"))
z= x*y*y
print(z)
🤓 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 )
print(number**3)
Its not working showing attribute error
1:56 the way he teaches from here 🖤
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
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
@@ManuKumar-rf5gb int type we cannot concatenate with str, so you need to change data type into str and concatenate with + 🙂
@@uday2159 tq 😊
sticking to this channel for coding knowledge...awesome teacher
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)
Awesome
X=int(input(enter number))
Import math
Y=math.pow(x,3)
Print(int(y))
error: undefined variables
superb sir i love the way you are teaching thank u very much
a = int(input("enter first number"))
b = int(input("enter second number"))
print(a*b)
simplify by function calling function
Learning From The Mistakes Is Nice Bro
x = int(input("Enter a number you want cube of"))
y = x**3
print(y)
you are so good at explaining , not irritating like others
Great work sir, we are very blessed to have a teacher like you, thank u so much