Variables, Datatypes and Typecasting | Python Tutorials For Absolute Beginners In Hindi #7

  Рет қаралды 1,144,184

CodeWithHarry

CodeWithHarry

Күн бұрын

Пікірлер: 4 700
@rameezfaisal9553
@rameezfaisal9553 4 жыл бұрын
This man is doing just next level help . May he reach to the top.
@thevision9170
@thevision9170 4 жыл бұрын
Yes
@kushdave202
@kushdave202 4 жыл бұрын
Not may , He Will !!
@MuhammadAsif-hu3id
@MuhammadAsif-hu3id 4 жыл бұрын
of course
@Ultron_19
@Ultron_19 4 жыл бұрын
Yess he deserves
@martiany4329
@martiany4329 4 жыл бұрын
Yes
@anitarai6327
@anitarai6327 Жыл бұрын
New to coding. Saw lot of videos about him heard so much about him being the best code tutor online. Yes , he really is . Wish we had a teacher like him in colleges and schools .
@rehan871
@rehan871 2 жыл бұрын
Good Day Harry bhai, Im Rehan Hanif from Pakistan. This is my first ever coding course in my life. I've joined your course to learn Python just because of your extremely easy way of teaching. You are doing a great job Harry Bhai. Hatts Off to you: Here is my first try of your given quiz: Hope I did it right way """Quizz: simple calculator program to add two numbers""" print("Enter first number: ") num1 = input() print("Enter second number:") num2 = input() print("The sum of two numbers is", int(num1) + int(num2))
@ashmitkanti8505
@ashmitkanti8505 2 жыл бұрын
Hello Harry bhai solution is print("Add your first number:- ") n1 = input() print("Enter your second number:- ") n2 = input() print("Your result to addition to numbers is:-", int(n1) + int(n2)) Thank You for bringing amazing courses.
@ratlearning9284
@ratlearning9284 2 жыл бұрын
same to you😇
@huidfdgf
@huidfdgf 2 жыл бұрын
hat lawde
@neeladrii
@neeladrii Жыл бұрын
man thats to big my ans is in 3 lines
@neeladrii
@neeladrii Жыл бұрын
n1=int(input("enter your first number ")) n2=int(input("enter your secound number ")) print("total is",n1+n2)
@saurabhinegi8583
@saurabhinegi8583 Жыл бұрын
​@@neeladrii thanku mera isme work kar gya 😂🎉
@knightgaming9487
@knightgaming9487 3 жыл бұрын
I'm a railway employee, i have just started to learn python and it's helpful. Keep up good work.😎
@KoushikDas2005
@KoushikDas2005 2 жыл бұрын
I am here from your new python series. Watching this for revision. Date: 21 December 2022 14:47 exercise -1 N1=eval(input ("Enter number:")) N2=eval(input("Enter number:")) S=N1+N2 print ("Sum of N1 and N2 is ", S) # I used eval because it has asked to add two numbers,neither two integers nor two floats.
@aaditikapoor
@aaditikapoor 3 жыл бұрын
14:40 print("Input first number") inpnum1 = input() print("input second number") inpnum2 = input() print("answer=" , int(inpnum1) + int(inpnum2))
@yogeshnandurkar2147
@yogeshnandurkar2147 2 жыл бұрын
print("what is your first number") inpnum1=input() print("what is your second number") inpnum2=input() print(int(inpnum1)+Int(inpnum2)) Thanks Harry👌
@gyroshotgaming6886
@gyroshotgaming6886 2 жыл бұрын
bhai " print(int(inpnum1)+Int(inpnum2)) " is line m 2nd Int glt h int hona cahiyee error
@mythicalgamer007
@mythicalgamer007 4 жыл бұрын
What a teaching skills bro really I showed this to my IT teacher and she was jealous 😂
@ayushraj6972
@ayushraj6972 4 жыл бұрын
Me too bro
@priyanshush.4436
@priyanshush.4436 4 жыл бұрын
🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
@rahulchaudary1896
@rahulchaudary1896 4 жыл бұрын
what is his reaction bro ? lol
@priyanshush.4436
@priyanshush.4436 4 жыл бұрын
@@rahulchaudary1896 😂😂
@advikmalwa379
@advikmalwa379 4 жыл бұрын
sahi kiya👍🏼
@hunnanmustafa2813
@hunnanmustafa2813 4 жыл бұрын
ur like an angel who came to my life to sought all problems , cos of just presentations made these days by teachers , i was unable to understand , but your teaching is awesome , salute and hats off to you , thnku
@Famtik
@Famtik 4 жыл бұрын
Quiz 1 : Print ("enter your first number") inpnum = input() print("enter your second number") inpnum1 = input() print("your answer is" , int(inpnum) + int(inpnum1) Thank You So Much Harry You Made My Lockdown 💥
@KrishuYadavGoogle-Heiscrazy
@KrishuYadavGoogle-Heiscrazy 4 жыл бұрын
@TM Gamerz lol
@kushagradixit2120
@kushagradixit2120 4 жыл бұрын
aakhri me print me bracket close kar de bhai
@ranjanaprajapati5853
@ranjanaprajapati5853 4 жыл бұрын
You can do it by Num1 = float("Enter a number ") Num2 = float("Enter another number") print(float(Num1 + float(Num2)))
@cracklingsoda
@cracklingsoda 4 жыл бұрын
The first letter of first print is in uppercase. interpreter will show an error.
@Ari-pu3qv
@Ari-pu3qv 4 жыл бұрын
@@ranjanaprajapati5853 wrong answer bro :)
@darshangourkhede7388
@darshangourkhede7388 3 жыл бұрын
Kay he opp teacher he 🙏🙏🙏 I never see a programer teacher to teach program like Harry sir
@buddhadebbairagi2022
@buddhadebbairagi2022 4 жыл бұрын
From today you are my master in coding. You are really a good teacher.
@tobesesrious6730
@tobesesrious6730 2 жыл бұрын
14:36 num1 = int(input("Enter first number: ")) num2 = int(input("Enter second number: ")) print('The sum of these two numbers is', num1 + num2) # you are awesome bro!
@rajneeshsharma2249
@rajneeshsharma2249 5 жыл бұрын
print("Enter The First Numbner:") inpnum1 = input() print("Enter The Second Numbner:") inpnum2 = input() print("Sum Is ",int(inpnum1)+int(inpnum2) )
@shashiross6539
@shashiross6539 5 жыл бұрын
print("Enter any two no. for addition:- ") a = int(input()) b = int(input()) print("Addition = ",a+b)
@aviralpathak7497
@aviralpathak7497 5 жыл бұрын
x = int(input("Enter first number: ")) y = int(input("Enter second number: ")) print(x + y)
@shubhankgupta5937
@shubhankgupta5937 4 жыл бұрын
✌️
@bushranikhat2326
@bushranikhat2326 4 жыл бұрын
Programmers prefer short codes.👍
@zeeeview5777
@zeeeview5777 4 жыл бұрын
@@bushranikhat2326 ap ko programing ..means pyrhon ati hai?
@coderkay7382
@coderkay7382 4 жыл бұрын
Not working in sololearn
@anirbansatapathi4622
@anirbansatapathi4622 2 жыл бұрын
14:40 print("Enter first number ") impnum = int(input()) print("Enter 2nd number ") impnums = int( input()) print("Addition of two digits are ",impnum + impnums) print("Enter first number ") impnum = input() print("Enter 2nd number ") impnums = input() print("Addition of two digits are ",int(impnum) + int(impnums)) Thank u sir.
@m.kamran187
@m.kamran187 3 жыл бұрын
14:44 inpnum = input("Enter first Number: ") inpnum1 = input("Enter second Number: ") print("The sum of your number is", int(inpnum)+int(inpnum1)) # Created by "Kamran Khan"
@ayushsahu5808
@ayushsahu5808 3 жыл бұрын
I have done my first project in my life And I am glad to say : I AM SUCCESSFUL 😊😊 BECAUSE OF U ONLY SIR ❤️❤️
@nayanchoudhary1903
@nayanchoudhary1903 3 жыл бұрын
😃😃😀
@yuvrajbabar1041
@yuvrajbabar1041 3 жыл бұрын
shabbas beta
@er_engineer_bro8953
@er_engineer_bro8953 3 жыл бұрын
Thanks a lot sir u r so great sir as compared to my college's teachers and professors (and ur series is free off cost) because in my college teachers only says prepare only theories for ur examination u will passed but in exam questions paper was only program bassed and I got back, now I'm 3rd student of mechanical engineering.... Love you sir
@Guy_withAutism
@Guy_withAutism 2 жыл бұрын
You can use int in variable too For ex:- N1 = int(input("enter your first number")) N2 = int(input("enter your second no.")) With this you dont have to use int in ur print
@rahultatu9608
@rahultatu9608 2 жыл бұрын
thanks bro, From where did you learned this
@rahultatu9608
@rahultatu9608 2 жыл бұрын
thanks bro, From where did you learned this
@harshasarla5744
@harshasarla5744 2 жыл бұрын
#addition of 2 numbers using python print("give the numbers u want to add") var1=input() var2=input() var3=int(var1)+int(var2) print(var3)
@akshayshirol4132
@akshayshirol4132 4 жыл бұрын
May god bless your work Harry, and make you and you family live for more time. I also wish that you reach 100M subscribers soon.
@aswinkrishna204
@aswinkrishna204 3 жыл бұрын
Harry thx a lot getting a lot of interest in python.
@iamjuned69
@iamjuned69 2 жыл бұрын
14:40 Print("enter Your first number") a = input () Print("inter Your second number") b = input() Print("Ans",int(a)+int(b))
@siddheshpanajkar660
@siddheshpanajkar660 3 жыл бұрын
print("Horlicks ka dibba as a container is very much relatable as a container to understand the variable")
@issanpanda5789
@issanpanda5789 3 жыл бұрын
@Musical Novice a = "L" b= "O" c= "L" print (a+b+c)
@Ayaan-eu6ci
@Ayaan-eu6ci 3 жыл бұрын
@@issanpanda5789 LoL
@radhikagupta419
@radhikagupta419 3 жыл бұрын
@@issanpanda5789 nice
@lawlit450
@lawlit450 3 жыл бұрын
@@issanpanda5789 output : LOL 😂
@abhishekmathur1042
@abhishekmathur1042 2 жыл бұрын
Hello harry, I have started learning python your tut and i also solve your quiz of making a calculator in a one go without any error, thanks to you for explaining things in such a way, kudos to you man👍👍👍👍
@adnan_rz
@adnan_rz 3 жыл бұрын
I am very happy and feel energetic by making calculator of my own code. thank you harry bhai for teaching us
@aniltandivitb4482
@aniltandivitb4482 2 жыл бұрын
14:48---->>> print("Enter the first number") a=float(input()) print("Enter the second number") b=float(input()) print("sum is ",a+b)
@007lakshya2
@007lakshya2 4 жыл бұрын
Oh Yes, I made my first calculator without any help or answer, and it worked, Thank You Very Much Mr. Harry!!!!
@oneseven1
@oneseven1 2 жыл бұрын
After learning C, C++ and Java..this language seems to me quite easy... And all this made possible by CodeWithHarry. ThankYou for bringing amazing courses for public ♥️
@LoveleshVideos
@LoveleshVideos 2 жыл бұрын
Gazab tu too coder bn gya ab 1 lakh ki job fix hai jldi jaaa
@Silenttagmotion
@Silenttagmotion 2 жыл бұрын
@@LoveleshVideos kis,bat ka,ghussa h bhau
@Somethingfordifferent
@Somethingfordifferent 2 жыл бұрын
@@Silenttagmotion wo gussa karraha hai
@Omnamashshiva
@Omnamashshiva 2 жыл бұрын
Print(“enter the first number”) a=input() print(“enter the second number”) b=input() print(int(a) +int(b))
@mr.bankrupt6123
@mr.bankrupt6123 2 жыл бұрын
bro I recently started coding what do you think is python a good language to start with ?
@dipikapatel9518
@dipikapatel9518 3 жыл бұрын
This guy is doing more than needed for us to teach us coding (pthon) I would say only one thing to like , share & subscribe. Keep going .✌
@anokhidhanware6396
@anokhidhanware6396 2 жыл бұрын
Its*python
@sagnikbanerjee8342
@sagnikbanerjee8342 2 жыл бұрын
print( "1st Number" ) inpnum = input() print("2nd number") inpnum2= input() print( "Your result", int(inpnum)+ int(inpnum2)) it worked bro. thank you harry for teaching coding in such a easy way. i being a medicine student never thought learning coding can be this interesting
@vishal13230
@vishal13230 5 жыл бұрын
print("Thanks Harry")
@gloryjaw4327
@gloryjaw4327 4 жыл бұрын
Thanks Harry
@rohanhajare7081
@rohanhajare7081 4 жыл бұрын
var1="8" var2="4" print(10*str(int(var1)+int(var2))) jo answer aane wala hai oo muje next line pe chahiye yaha kaha lagauuu plzzz guide me....
@gloryjaw4327
@gloryjaw4327 4 жыл бұрын
@@rohanhajare7081 bhai answer next line me hi aaega na bina /n lagaye
@rohanhajare7081
@rohanhajare7081 4 жыл бұрын
@@gloryjaw4327 ans na 12121212121212121212 essa aa raha hai muje 12 12 12 esaa chahiye
@gloryjaw4327
@gloryjaw4327 4 жыл бұрын
@@rohanhajare7081 uske liye while loop lgana padega
@kareemfitness1
@kareemfitness1 3 жыл бұрын
Print("enter first number") inpnum = input() Print("enter second number") inpnum1 =input() Print("addition is",int(inpnum) + int(inpnum1) )
@Streltsi_007
@Streltsi_007 3 жыл бұрын
or u can simply write a = int(input("Enter First Number: ")) b = int(input("Enter Second Number: ")) print(f"The Sum is: {a + b}") writing int/str/float at the beginning would automatically change your string type into an integer type, and vice-versa, so that u don't need a huge block of code
@ashukumar2851
@ashukumar2851 3 жыл бұрын
@@Streltsi_007 why did you use f before double quotes.???
@Streltsi_007
@Streltsi_007 3 жыл бұрын
@@ashukumar2851 these are called F-Strings… it lets you use values within your strings
@avnish_raj
@avnish_raj 2 жыл бұрын
print("Enter 1st numbers") var1 = input("") print("enter 2nd number you want to calculate with") var2 = input("") print("sum of these numbers is", (int(var1) + int(var2))) maine yeah code likha calculator ke liye and it works I feel proud of myself right now Thanx Harry Bhai
@alnahian8051
@alnahian8051 3 жыл бұрын
Answer: a = int(input("Enter the first number: ")) b = int(input("Enter the second number: ")) plus = a + b print("The summation is:", plus)
@FGAMANYT
@FGAMANYT 3 жыл бұрын
No he/she is wrong
@shreyashbhakare1648
@shreyashbhakare1648 4 жыл бұрын
print("Thank you so much sir for this tutorial","You make my lockdown great " )
@ItsMe-zr9xf
@ItsMe-zr9xf 4 жыл бұрын
Aapke kitne lecture ho gye Abhi tk ?
@shreyashbhakare1648
@shreyashbhakare1648 4 жыл бұрын
@@ItsMe-zr9xf 20 lectures ho gaye hai . vaise mai ise jyada samay nahi te pata hu. aapke kitne hogaye hai.
@shlokrana703
@shlokrana703 4 жыл бұрын
@@shreyashbhakare1648 const superHeroes=['Iron Man', 'Spiderman', 1, 'true']; superHeroes.foreach(function(){ console.log('Chal Chal bap ko mat sikha) })😂😂
@abictor3312
@abictor3312 4 жыл бұрын
@@shlokrana703 bhai tune toh Ek Naya hi language bana diya?
@shlokrana703
@shlokrana703 4 жыл бұрын
@@abictor3312 bhai Vanila JavaScript nahi padi kya??
@amanchandra6936
@amanchandra6936 Жыл бұрын
14:31 a = int(input("what is your first number - ")) b = int(input("what is your second number - ")) print("sum of your both number - ", a+b)
@akshatsharma4614
@akshatsharma4614 4 жыл бұрын
"word to word" NOPE "CODE TO CODE " Samajh aaya A Very Very Thank U Sir
@RameshKumar-ip5nj
@RameshKumar-ip5nj 4 жыл бұрын
Quiz Answer: firstnum = input("Enter first number") secondnum = input("Enter second number") print(firstnum, '+', secondnum, '=', int(firstnum)+int(secondnum))
@AMANSHARMA-uj1rm
@AMANSHARMA-uj1rm 3 жыл бұрын
H
@soleil2816
@soleil2816 3 жыл бұрын
Why it is not working when i opened it in explorer 🥺
@devsharma5507
@devsharma5507 3 жыл бұрын
Bhai galt h yeh
@skmoinul5846
@skmoinul5846 3 жыл бұрын
@@soleil2816 print("enter your first number") number1=input() print("enter your second number") number2=input() print("total",int(number1)+int(number2))
@skmoinul5846
@skmoinul5846 3 жыл бұрын
@@soleil2816 yea try karo
@nileshpatnaik8217
@nileshpatnaik8217 3 жыл бұрын
Thank you very much sir!! You really helped me understand the basics of Python which my school teachers were not able to do so. Also, to get the sum of 2 or more numbers, I tried this method - n1 = int(input("Enter the first number = ")) n2 = int(input("Enter the second number = ")) n3 = int(input("Enter the third number = ")) print ("The sum of these three numbers are = ", n1+n2+n3) ----X---- This code did work, but, I just wanted to know if this is the correct method to follow during practical in school?
@vihanagarwal269
@vihanagarwal269 3 жыл бұрын
yes
@amanpinjarit2927
@amanpinjarit2927 2 жыл бұрын
Bhai bhot sahi....meine iske pahale aapka video dekh ke pahale baar program likha tha....ab ye video dekh kr khud se calculator bana liya....thank u Bhai your video helping me alot
@shellymittal7726
@shellymittal7726 3 жыл бұрын
I made the one that can add decimals also but if u want u can use int instead of float ,it will give u the integer sum. Thankyou very much Harry sir. print("Enter number A") inpnum1 = input() print("Enter number B") inpnum2 = input() print("Hence, the sum is") print(float(inpnum1) + float(inpnum2))
@sapkatharatm
@sapkatharatm 5 жыл бұрын
or print("Sum = ",int(input("Enter 1st number: ")) + int(input("Enter second number: ")))
@naushadali3240
@naushadali3240 4 жыл бұрын
Your code is very good code.
@inner.awakening
@inner.awakening 4 жыл бұрын
Cool Code Dude!
@ruchirijate1549
@ruchirijate1549 4 жыл бұрын
Quiz :- print("Welcome to Addition calculator " "This calculator can done only addition oeration(+)") var1=(int(input("Enter first number "))) var2=(int(input("Enter second number"))) print("Your result is" , var1 + var2)
@Rehan1278
@Rehan1278 Жыл бұрын
quiz 1 answer print("welcome to python calci") print("please enter numbers you want to add up") print("your first number") inpnum = input() print("your second number") inpnum2 = input() print("your result is", int(inpnum) + int(inpnum2)) YOUR VIDS ARE AWESOME BIG BROTHER I AM 18 YEARS OLD THIS HELPING ME A LOT TO LEARN PYTHON THNX, BTW I MADE THIS CALCULATOR THANKS ONCE AGAIN....
@anmol8729
@anmol8729 2 жыл бұрын
Print ("tell the first number") Num1 = input() Print("now pls tell the second number") Num2 = input() Print ("the answer is" , int(Num1) + int(Num2))
@KlearMoney-Sotema
@KlearMoney-Sotema 2 жыл бұрын
3 4 7
@Rohan-ct3tm
@Rohan-ct3tm 3 жыл бұрын
The same way you can do subtraction multiplication and division also ✌️ ( Just Change the signs ) Plus : Add float Instead of Int to get Solution of decimals also 👍
@elitekiller3198
@elitekiller3198 3 жыл бұрын
hi
@shortsforuse7979
@shortsforuse7979 2 жыл бұрын
Bro i can 't print var1 = "hello world' var4 = 45.5 i get error and error again can you explain it?
@saachigupta4545
@saachigupta4545 2 жыл бұрын
@@shortsforuse7979 because in var1 u used only single' quote it should be like this"hello world"
@shortsforuse7979
@shortsforuse7979 2 жыл бұрын
@@saachigupta4545 ok thanks
@diva521
@diva521 2 жыл бұрын
Hi i am putting print("do you know the double of your number ?") print(2* str(inpnum)) But it's showing do you know the double of your number? It's 7070 Rather than It's 140
@disha12268
@disha12268 2 жыл бұрын
This vedio is amazing ! and the course is just on another level ❤❤. I even can't explain my feelings , you are the best coding teacher ever for me! My approach for the quiz is: print ("Enter number1") Num1 = input() print("Enter number2") Num2 = input() sum = (int(Num1) + int(Num2)) print("The sum is: " + Street(sum)) Is it right or not ? I tried my best!
@rajnikhandelwal3151
@rajnikhandelwal3151 2 жыл бұрын
what is the street var for
@Hahahaha33489
@Hahahaha33489 2 жыл бұрын
print("enter your first number") Print("enter your second number") Inpnum 1 = input() Inpnum 2 = input() Print ("enter your first number","enter your second number", int(inpnum 1) + (inpnum 2) Kuch ziyada he mistakes hogai thi lekin ab correction karli thank you sir
@atharvabhat8089
@atharvabhat8089 4 жыл бұрын
all youtubers are here to make money from these ads but you really want to help us
@surekhadeore9283
@surekhadeore9283 4 жыл бұрын
Quiz -1 Answer print("Addend 1") Number1 = input() print("Addend 2") Number2 = input() print("So the sum of the two addends is ", int(Number1) + int(Number2) ) I know I am late but you will find my comment in each of his Python tutorials 😊😊
@rohanhajare7081
@rohanhajare7081 4 жыл бұрын
var1="8" var2="4" print(10*str(int(var1)+int(var2))) jo answer aane wala hai oo muje next line pe chahiye yaha kaha lagauuu plzzz guide me....
@vibhu613
@vibhu613 4 жыл бұрын
@@rohanhajare7081 laga na
@rohanhajare7081
@rohanhajare7081 4 жыл бұрын
@@vibhu613 kaha bhai
@vibhu613
@vibhu613 4 жыл бұрын
@@rohanhajare7081 Nahi yaar o method kaam nahi kar ri.. Jo mai socha tha... Isko loop lagana padega
@lalithiray110
@lalithiray110 3 жыл бұрын
I made My First Calculator with float(firstN) + float(secondN) For Decimals and It work 😃 Thanks Sir 🙏🏻🙏🏻🙏🏻
@Dabeer14
@Dabeer14 2 жыл бұрын
print("Enter Your Number: ") ans = input() print("Enter Your Second Number: ") ana = input() print("Your Answer is",(int(ans) + (int)(ana))) Thanks So Much For This Course Harry Bhai
@manisharajan410
@manisharajan410 3 жыл бұрын
solution of quiz:- a=int(input("enter first number")) b=int(input("enter second number")) print("sum of these numbers is", a+b)
@readwithme-nehachahar5587
@readwithme-nehachahar5587 2 жыл бұрын
a = int(input("Enter a number")) b = int(input("Enter another number")) c = a + b print(f"The sum of the two numbers you entered is {c}")
@Abdulqadir-t4z
@Abdulqadir-t4z 2 жыл бұрын
Error
@Rehan1278
@Rehan1278 Жыл бұрын
print("welcome to python calci") print("please enter numbers you want to add up") print("your first number") inpnum = input() print("your second number") inpnum2 = input() print("your result is", int(inpnum) + int(inpnum2))
@kaal2879
@kaal2879 6 жыл бұрын
CODE: For add calculator print("Enter 1st number") inp1=input() print("Enter 2nd number") inp2=input() print("The addition of 1st & 2nd number is:",int(inp1)+int(inp2))
@SkillSculptors7
@SkillSculptors7 Жыл бұрын
print("enter the first number") inpnum1=input() print("Enter the second number") inpnum2=input() var1=sum sum=(int(inpnum1)+int(inpnum2)) print("The sum of two numbers:",int(sum)) sir this is my code (best teacher sir) LOVE FROM PAKISTAN😍😍😍
@okayokay-wd9rh
@okayokay-wd9rh 3 жыл бұрын
print(100*"Thank you ")
@somashekarsanjay4879
@somashekarsanjay4879 3 жыл бұрын
😂😂😂
@keshanindustries4535
@keshanindustries4535 3 жыл бұрын
@@somashekarsanjay4879 op lol
@technicalknowledge5761
@technicalknowledge5761 3 жыл бұрын
print(type(x+y+z))
@okayokay-wd9rh
@okayokay-wd9rh 3 жыл бұрын
@@somashekarsanjay4879 isme hasne wali kya baat hai 🙄
@somashekarsanjay4879
@somashekarsanjay4879 3 жыл бұрын
@@okayokay-wd9rh nothing leave😁
@STProductionssrb
@STProductionssrb 6 жыл бұрын
Great Tutorial. !!
@lofi_music..
@lofi_music.. 3 жыл бұрын
n1 = int(input("type frist number")) n2 = int(input("type second number")) print(n1 + n2)
@guri735
@guri735 3 жыл бұрын
I used this command and took the first no. 6 and second 7 But the output is 6. Infact the output is the the number I took as n1. Please help :) if i only use n1= int("1st no.") n2=int("2nd no.) then it works fine
@dotmashrc
@dotmashrc 3 жыл бұрын
@@guri735 in the mentioned code how are you getting your input?
@vaishnavigupta1023
@vaishnavigupta1023 3 жыл бұрын
Because you have used type keyword here
@prathammishra7361
@prathammishra7361 2 жыл бұрын
print("enter your 1st number") n1 = input() print("enter your 2nd number") n2 = input() print("sum of these two numbers is ", int(n1) + int(n2))
@SandhyaSharma-wr1vv
@SandhyaSharma-wr1vv 4 жыл бұрын
The Python Programming tutorials till now are going very smooth. Thank Yous so much for your support! var1='Harry ' var2='is the ' var3='best' print(var1+var2+var3) OUTPUT: Harry is the best
@vedantraj9532
@vedantraj9532 3 жыл бұрын
right
@prabirkumar1637
@prabirkumar1637 3 жыл бұрын
Wrong code This should be like Double quote ("Harry") not ('harry)
@chetanagarwal278
@chetanagarwal278 4 жыл бұрын
My Solution: """ A calculator that adds two numbers. """ print("Enter your number:") num1 = input() print("Enter second number:") num2 = input() print("Your Answer is:",int(num1)+ int(num2))
@vishnujoshi2461
@vishnujoshi2461 4 жыл бұрын
Hey ! I would like to suggest some changes : 1.There is no need to print Enter your number . You can write that in the input function. 2.I know this is not a really valid suggestion , but you can directly convert it into int value when you take the input. 3. In the output, you will have to put int(num1)+ int(num2 in brackets and convert to string like this str(int(num1)+ int(num2). Python will not allow you to print int values along with a str value . Code : num_one=int(input("Enter your Number : ")) num_two=int(input("Enter your Number : ")) print("The sum is : "+ str(num_one+num_two)) Output : Enter your Number : 4 Enter your Number : 5 The sum is 9
@abictor3312
@abictor3312 4 жыл бұрын
@@vishnujoshi2461 correct.. But the input numbers r not shown in the output!
@adityasahu2035
@adityasahu2035 4 жыл бұрын
8:25 now I can write I am sorry 100 times
@aer0449
@aer0449 3 жыл бұрын
Me too XD
@amankaushal
@amankaushal 3 жыл бұрын
As simple as f**k
@fardeensiddiqui2273
@fardeensiddiqui2273 2 жыл бұрын
print("Your first number is") num1=input() print("Your second number is") num2=input() print(int(num1)+int(num2)) Thank you so much "Harry Bhai" I'm also from Rampur
@nikhilvishwakarma2565
@nikhilvishwakarma2565 4 жыл бұрын
print ( "Your name ",name ) print("Your age is ",age)''' a=int(input ("Enter your first number ")) b=int(input ("Enter your second number ")) c=a+b print(c)
@tworita99
@tworita99 3 жыл бұрын
QUIZ: print("enter first number ") a = int(input()) print("Enter second number") b = int(input()) print("The addition is ", a+b)
@manaslohe8667
@manaslohe8667 3 жыл бұрын
harry bhaiya please tell how to print the output of print(100*str(int(var1)+int(var2))) in new line each
@tareqsqatech1222
@tareqsqatech1222 3 жыл бұрын
Yes harry bro... please tell how to print in new line each? TIA :)
@average_human628
@average_human628 2 жыл бұрын
14:49 print("Welcome to the calculator which adds two numbers") a = int(input("Enter first number: ")) b = int(input("Enter second number: ")) print("The sum of the numbers is: ",a+b)
@iam__boss
@iam__boss 4 жыл бұрын
Sir this is right print("enter your first number") inpnum = input() print("enter your second number") inpnum1 = input() print("you enterd", int(inpnum)+int(inpnum1))
@yrusnuke2647
@yrusnuke2647 4 жыл бұрын
👍
@amankumargupta5676
@amankumargupta5676 4 жыл бұрын
This is not run
@iam__boss
@iam__boss 4 жыл бұрын
Aman Gupta why sir
@gauravyadav8813
@gauravyadav8813 3 жыл бұрын
I had already started making my first calculator during the video when he said to do so. 😂 Coincidence...😁😁😀😂
@harshadgowardhanbhai1846
@harshadgowardhanbhai1846 6 жыл бұрын
I'm First Sab Se Pahale Like Kar De Ta Hu 👍
@thenewme.ghazialpha
@thenewme.ghazialpha 2 жыл бұрын
14:45 print ("Enter Your First NO.") a = input() print ("Enter Your Second NO.") b = input() print ("Your Sum is", int(a)+int(b))
@Causal_Games
@Causal_Games 4 жыл бұрын
var=int(input("enter a number")) var2=int(input("enter a number")) Print("sum=",var+var2)
@mdaminulrasel3354
@mdaminulrasel3354 5 жыл бұрын
print("write your 1st number: ") first=int(input()) print("write your 2nd number: ") sec=int(input()) print(first+sec)
@Vivek_m2104
@Vivek_m2104 5 жыл бұрын
Good think
@arpitlekhwar
@arpitlekhwar 4 жыл бұрын
print("Horlicks Ke dibbe mein namak")😂😂😂😂
@abhayrana4955
@abhayrana4955 4 жыл бұрын
@Samarth Kaul lol
@gulamrasool386
@gulamrasool386 3 жыл бұрын
😅😅😅😅good joke
@amitabhanand12
@amitabhanand12 3 жыл бұрын
Syntax error!!
@arpitlekhwar
@arpitlekhwar 3 жыл бұрын
@@amitabhanand12 i didn't wrote that emojis as a code
@arpitlekhwar
@arpitlekhwar 3 жыл бұрын
@Samarth Kaul i didn't wrote that emojis as a code
@udit886
@udit886 4 жыл бұрын
plot twist : the whole series is made in one day.😁
@mehervanigupta4779
@mehervanigupta4779 4 жыл бұрын
Really😱😱??
@GFX_by_Gurpreet
@GFX_by_Gurpreet 4 жыл бұрын
@@mehervanigupta4779 yes coz same T-Shirt 😂🤣
@sachinmishra1055
@sachinmishra1055 4 жыл бұрын
Bhai fir shout out ka kya
@simonyadav1975
@simonyadav1975 4 жыл бұрын
No
@Stoneface0fficial
@Stoneface0fficial 4 жыл бұрын
Var1="Harry " Var2="Is " Var3="The " Var4="Best " Print(var1+var2+var3+var4)
@sauravsharma8461
@sauravsharma8461 4 жыл бұрын
Yaha pe 'var' likhna jaroori nahi hai kuch bhi likh sakte hai Mai to a , b , c , etc likhta hu 👍🏾
@pakshalghiya5750
@pakshalghiya5750 4 жыл бұрын
There should be an error. Because in the declaration you've entered capital 'V' & in the print statement it's small 'v'.
@sauravsharma8461
@sauravsharma8461 4 жыл бұрын
@@pakshalghiya5750 also print's P is written in capital so...
@DhruvalBhinsara
@DhruvalBhinsara 4 жыл бұрын
I have no trust on my IT teacher, she is teach entire class just html from past 6 months and not even any other thing not even css,java or php
@Divyanshparmarofficial
@Divyanshparmarofficial 3 ай бұрын
14:49 print('Hello, This is a calculator for addition of two numbers only So, Lets START') print('enter your first number') inp1 = input(" ") print("enter your second number") inp2 = input(" ") print(" ") print("So, sum of both of your numbers is", int(inp1)+int(inp2))
@Coding_Asmr_PraDev
@Coding_Asmr_PraDev 6 жыл бұрын
Bhai to editing me bhi master hai. Whatsapp no plz for queries
@techieroy6177
@techieroy6177 6 жыл бұрын
Kon hai vai tu jinone dislike kiya!! I really hate this kind of people. Samaj nehi aya to comment me bol. Dislike q kiya😡😡
@smileplz1334
@smileplz1334 6 жыл бұрын
Ara bhaiii ya serf Demotivate Kara Janta ha or kuch nahi aata in logo ko
@techieroy6177
@techieroy6177 6 жыл бұрын
@@smileplz1334 to fir nehi dekho na.. eya tumhari problem ham logo k nehi
@smileplz1334
@smileplz1334 6 жыл бұрын
@@techieroy6177 Kiski problem bhaii esma ma tumhari baat Ko sahi Bata Raha hu dang SA padoo
@flywithrohan05
@flywithrohan05 5 жыл бұрын
Pakistan se honge wo log... Jalte hai wo log humse
@Adityasingh-sq7gd
@Adityasingh-sq7gd 5 жыл бұрын
Bhai mere me var likh rha hu to kaam nahi kr rha
@saumya248
@saumya248 2 жыл бұрын
Hlo Harry Bhai, apply very hardwork to continue. I appreciate you hardwork. Keep it up.
@amolwankar9856
@amolwankar9856 2 жыл бұрын
print("enter your 1st no") num1= input() print("enter 2nd no") num2=input() a= int(num1)+int(num2) print("the sum of number is " ,a ) #thank you harry
@myCodingJourney02
@myCodingJourney02 2 жыл бұрын
print("Enter first number") num1=input() print("Enter second number") num2=input() print("Sum of "+num1+" and "+num2+" is" ,int(num1)+int(num2)) Thanks guru ji
@akashsaha387
@akashsaha387 2 жыл бұрын
14:41 print("Welcome To Python Calculator") print("Enter Your 1st Number:") t1 = input() print("Enter Your 2nd Number:") t2 = input() print("Add=", int(t1)+int(t2))
@atharvashirke8649
@atharvashirke8649 Жыл бұрын
Thanks SIr You can also use, print("Enter your first number") n1=int(input()) print("Enter your second number") n2=int(input()) print("Addition to these are", (n1)+(n2))
@mansiagarwal8475
@mansiagarwal8475 2 жыл бұрын
print("Enter First Number : ") num1 = int(input()) print("Enter Second Number : ") num2 = int(input()) sum = num1 + num2 print(sum) I really like your videos.
@Troy-n2z
@Troy-n2z Жыл бұрын
Solution: num1 = int(input("Enter Your First Number: ")) num2 = int(input("enter Your Second Number: ")) print(num1 * num2) Thanks Bro for such help
@pradeepkattimani5081
@pradeepkattimani5081 2 жыл бұрын
#thanks for making this playlist print("enter 2 numbers") num1=input() num2=input() print(int(num1) + int(num2))
@shanmukhakundan2171
@shanmukhakundan2171 2 жыл бұрын
quiz ans print("enter your first number ") num1=int(input()) print("enter ur secod no") num2=int(input()) print ("result for your question is ", num1 + num2 ). thank you .
@devanshnarlawar8312
@devanshnarlawar8312 Жыл бұрын
Harry bhai 12 years is my age and wanted to learn python so I have joined your course I even made calculator with sum, multiplication, division and subtraction this being my first python program I am very proud of myself
@ShahidQureshi-ee6wz
@ShahidQureshi-ee6wz 2 жыл бұрын
num1 = input('Enter first no') op = input('Enter operator to add') num2 = input('Enter 2nd no') print('Your result is : ',int(num1) + int(num2))
@ishtiaqahmed9829
@ishtiaqahmed9829 2 жыл бұрын
a = int(input("Enter first number ")) b = int(input("Enter second number ")) print(a + b)
@anshumanpradhan2574
@anshumanpradhan2574 2 жыл бұрын
hello harry sir i am a student of class 6th and i am getting so much help by watching your videos and the solutionisHello Harry bhai solution is print("Add your first number:- ") n1 = input() print("Enter your second number:- ") n2 = input() print("Your result to addition to numbers is:-", int(n1) + int(n2)) Thank You for bringing amazing courses.
@manjulakoti662
@manjulakoti662 2 жыл бұрын
Container example is super. Ek hi example me concept samajh me aaya.
@akashjaiswal1782
@akashjaiswal1782 2 жыл бұрын
i think it's right print("Enter your first number") firstnum = input() print("Enter your second number") secondnum= input() print("your final result=",int(firstnum)+int(secondnum))
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 623 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 695 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,2 МЛН
Variables and Data Types | Python Tutorial - Day #6
16:45
CodeWithHarry
Рет қаралды 1,5 МЛН
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 786 М.
Python Tutorial In Hindi 🔥
1:45:03
CodeWithHarry
Рет қаралды 2,1 МЛН
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 370 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 234 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 657 М.
How I'd Learn AI (If I Had to Start Over)
15:04
Thu Vu data analytics
Рет қаралды 881 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 614 М.