Тёмный

Operators In Python | Python Tutorials For Absolute Beginners In Hindi #21 

CodeWithHarry
Подписаться 7 млн
Просмотров 382 тыс.
50% 1

Опубликовано:

 

7 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 406   
@NAVALFREAK8
@NAVALFREAK8 3 года назад
Best coding instructor in the world @CodeWithHarry
@techamusement6714
@techamusement6714 3 года назад
You are doing such a great work. May Almighty shower all his blessings on you sir. You are such a humble man with a gentle humanity
@simonyadav1975
@simonyadav1975 3 года назад
In love with python just bcz of you and also I am watching this from playlist
@abhishekjha5349
@abhishekjha5349 3 года назад
Bhiya thanks a lot❤️❤️❤️ aap ki vedeo bhaut kaam ki hia
@md.huddin5474
@md.huddin5474 4 года назад
Thanks Mujhe lagta hai main apki video dekh kar ek acca programer bon sakta hu sir Apki bahut bahut sukrya sir
@girishchede9370
@girishchede9370 3 года назад
THANKS BHAI TEXT TUTORIAL DENE KE LIYE
@pranjalthakur8115
@pranjalthakur8115 5 лет назад
Harry bhai best course every!! Loved your style of teching
@atharvasuryawanshi3568
@atharvasuryawanshi3568 3 года назад
My brain 🧠 get start Gaining binary Thanks Harry bhai Your students From maharashtra Rohan dilip Suryawanshi
@akj1436
@akj1436 4 года назад
IM 30 Y OLD,AND I PASSED 5TH CLASS ONLY,BUT I JUST LOVE THIS,IS IT THERE ANYTHING SCOPE FOR ME IN PYTHON.
@monikavarshney5029
@monikavarshney5029 4 года назад
If you practice, hard work and show your passion for python you will definitely success
@gauravproton1956
@gauravproton1956 4 года назад
Learn this knowledge and every programming language so you can earn for your own and be skillful , because I also passed 10th and focus on this to good job
@prakharmishra9812
@prakharmishra9812 4 года назад
No bro because u r 30 y old but still passed 5th class 🤣🤣
@prakharmishra9812
@prakharmishra9812 4 года назад
@@kalpanaranjan3010 yeah but it depends somewhat at your English or ur brain (30 year old only passed 5th)
@prakharmishra9812
@prakharmishra9812 4 года назад
@@kalpanaranjan3010 that's what I said
@tanaykulkarni2116
@tanaykulkarni2116 4 года назад
thank you so much this video helped me in emergency
@deveshlakwal8148
@deveshlakwal8148 4 года назад
i = 1 a = int(input("enter the numbers of move")) while(in): print("no is smaller") elif (m
@yashparab9874
@yashparab9874 3 года назад
no = 1 a = 77 while (noa): print("PLEASE ENTER SMALLER NUMBER") elif(inp5): print("GUESS OVER")
@memekameme7033
@memekameme7033 Год назад
#guessing the number n=20 print("you have 9 guesses") for i in range(1,10): g=int(input("Enter your guess")) if gn: print("Number is smaller than this") l=8-i print("Guesses left",l) elif g==n: print("CONGRATULATIONS YOUR GUESS IS CORRECT") print("NUMBER OF GUSSES TAKEN",i) break end="Game over" end=end.center(50) print(end)
@pakhi3053
@pakhi3053 3 года назад
Thank you so much sir ❤😊
@faizananwar4622
@faizananwar4622 2 года назад
num = 13 guess = 9 count = 1 print("You can guess only for 9 times ") while(True): a = int(input("Enter number: ")) if a > num: print("Enter a smaller number") elif a < num: print("Enter a larger number") else: print("Congratulations! Your guess is right and you use ", count , " guesses") guess = guess - 1 if guess == 0: print("You loose") break count = count + 1 if a != num: print("You have ", guess, "guess left")
@incredibledancernaina4148
@incredibledancernaina4148 5 лет назад
Please make a course on artificial intelligence
@eshaanmanchanda5507
@eshaanmanchanda5507 4 года назад
yes and also chat bot
@theordinaryhuman7557
@theordinaryhuman7557 3 года назад
Why don't you check out andrew ng course he is the god of machine learning.
@rishabhrocker2432
@rishabhrocker2432 3 года назад
Tum pagal ho
@knightgamer1159
@knightgamer1159 3 года назад
@Konal Pradhan 😂
@koushik1947
@koushik1947 3 года назад
@@theordinaryhuman7557 ohh! Really? Lemme Check it out...
@HimanshuYadav-rt6kh
@HimanshuYadav-rt6kh 4 года назад
Teaching skill Bhut gajab h awesome
@dharmikpanseriya6020
@dharmikpanseriya6020 2 года назад
winning_number=25 gusses_number=1 while(gusses_numberwinning_number: print('its big type smaller num.') elif n5): print("youer gusses chance are finish")
@dogolucy2078
@dogolucy2078 2 года назад
import random n=random.randint(0,20) p=0 i=9 while True: p=p+1 i=i-1 number=int(input("Enter your number ")) if number>n: print("try with a lesser value ") print("No of guess left ",i) elif number
@mandalojurahul1473
@mandalojurahul1473 Год назад
print("FAULTY CALCULATOR") print("1.additon 2.subtraction 3.multiplication 4.division ") choice=int(input()) print("enter the first value ") n1=int(input()) print("enter the second value ") n2=int(input()) if choice==1: if((n1==56 or n2==56) and (n1==9 or n2==9)): print("the additon is 77") else: print("the addition is ",n1+n2) elif choice==2: print("the subtraction is ",n1-n2) elif choice==3: if((n1==45 or n2==45) and (n1==3 or n2==3)): print("the multiplication is 555") else : print("the multiplication is ",n1*n2) elif choice==4: if(n1==56 and n2==6): print("the division is 4") else: print("the division is ",n1/n2)
@iShubhamVerma
@iShubhamVerma 3 года назад
Bhaiya you are so good in explaining thank you so much
@uttamnishad4927
@uttamnishad4927 4 года назад
Thank you
@rushabhnagda9267
@rushabhnagda9267 2 года назад
guess = 5 current_guess = 0 number = 18 while (guess>=0): guess = guess-1 current_guess = current_guess+1 inp = int(input("Enter a Number ")) if(inp==number): print("congratulations you have won the guess game in ",current_guess," Number of guesses") break elif(guess==0): print("Game over") break elif (inp>number): print("sorry give a bit more smaller number") print("you have ",guess,"guesses left") elif (inp
@seshasai5304
@seshasai5304 4 года назад
super explanation harry bhai
@akdass7575
@akdass7575 5 лет назад
Harry Bhai is video is very well and knowledgeable
@pradyumnprasad6487
@pradyumnprasad6487 4 года назад
here it is-------> n=25 g=9 t=0 print("Guss the number--") v=int(input()) while (g>0): if(v==n): print("you did this ") g=g-9 print("end of the game") break elif(v
@pratham9087
@pratham9087 5 лет назад
sir you are the best
@pragatiprakash6623
@pragatiprakash6623 Год назад
x=85 print("Let's Start our game of guessing number") i=0 while (True): print("GUESS A NUMBER") x1=int(input()) if (x1>x): print("Actual Number is lesser") i+=1 elif x1
@polymath_s
@polymath_s 10 месяцев назад
Let me make it a little tricky import random x= 100 x = random.randint (1, 100) print("Let's Start our game of guessing number") i=0 while (True): print("GUESS A NUMBER") x1=int(input()) if (x1>x): print("Actual Number is lesser") i+=1 elif x1
@SHIVAM257Z
@SHIVAM257Z 3 года назад
Thank you so much sir
@rishikhanna7854
@rishikhanna7854 3 года назад
Thank u so much bro you really helped in my exam
@arpitsingh4771
@arpitsingh4771 4 года назад
@codewitharry Harry Bhai is easy si prblm he, actually bhai whole programme pr hm "#" ek sath kese lgate hn
@just_another_user3661
@just_another_user3661 5 лет назад
Sir bitwise operators pr video bna dijiye plz...
@mohamedjaveed3018
@mohamedjaveed3018 5 лет назад
harry bhai please make a video on Artificial Intelligence using python!!!!please
@grokgaleman9559
@grokgaleman9559 3 года назад
winNo = 38 guesses = 9 one = 1 print("Welcome to the guess game. Please enter the answer you think is right below:-") while(True): answer = (int(input("Enter your guess here :- "))) if answer>winNo: print("Your number is greater than the answer (Hint- answer is not more than 60)") guesses = guesses-1 print("You have",guesses,"guesses left") if guesses == 0: print("Game over you lost.") break continue elif answer
@parthsharma3041
@parthsharma3041 2 года назад
n=18 print("enter guessed number") N1=int(input()) print('no. of attempts is 9') no_of_guesses=1 while(no_of_guesses18: print(" decrease down ur number ") break elif N1
@AftabAlam-ro1hy
@AftabAlam-ro1hy 3 года назад
Watching this course again
@grootx824
@grootx824 3 года назад
hide = 50 print("welcome to the guess game you have to find hidden number you have 9 guess limits") count = 0 while(True): print("no of guess left>",9-count) guess = int(input("enter number:")) if guess==hide: print("congrats you won the game") count = count +1 break if count==8: print("your guess limit is over ") exit() elif guess>45 and guess 30 and guess < 70: print("you are near to the number ") count = count + 1 continue elif guess > 10 and guess < 90: print("you are still far to the number ") count = count + 1 continue else: print("u are so far ... ") count = count +1 continue print("you won this game after",count-1,'trails')
@v_stechgamer7725
@v_stechgamer7725 2 года назад
thats what legends do i made the same
@govindlathkar1273
@govindlathkar1273 2 года назад
nice code
@the_three_foodies
@the_three_foodies 4 года назад
print(" you have 5 chances") i=5 while(i>=0): if i==0: print("game over") break a=10 i=i-1 q=int(input("Type value: ")) if q>a: print(i,"chance left , guessing no is smaller ") elif q
@farhdahmedmuaz790
@farhdahmedmuaz790 Год назад
Amazing video thank you Harry bro
@shahmirabbas5100
@shahmirabbas5100 3 года назад
Masha allah, harry bhai aapki vids boht achi hain, geo 100 saal
@Breath_taking
@Breath_taking 5 лет назад
Great Sir Thanks
@deepaksah7438
@deepaksah7438 3 года назад
Thanks Sir
@ShivanshPandey222
@ShivanshPandey222 4 года назад
Aaila maa! Harry bhaiya jaadu kar rha! Main bhi ab ye jaadu kreaunga
@Adityapandey_09
@Adityapandey_09 Год назад
East to West, apna Harry best😎❣️
@hamadshigri5686
@hamadshigri5686 5 лет назад
Great Bro.
@shakilqureshi9778
@shakilqureshi9778 4 года назад
Herry bro ur great and thank you so much for your videos
@nitesh.jyotishi
@nitesh.jyotishi 5 лет назад
Bhaiya OOPs ke videos or bnavo , series puri kr do aapke channel waali.....I think usme bhut se topics missing hai
@ratnakantahanse2661
@ratnakantahanse2661 4 года назад
Love the way your teaching 💪💪 Bravo....
@SharpMind
@SharpMind 3 года назад
yes
@lucifer_ffoc3369
@lucifer_ffoc3369 2 года назад
anubhav sing bassi ka dailogue buddy love the way you lie copy paste kr diya hai na
@rakshatchoudhary8923
@rakshatchoudhary8923 4 года назад
i m only of 13 years you explanation is very good
@lyricsmint567
@lyricsmint567 5 лет назад
Bhai aap ki sari videos save kr raha hun.. Exams khatam hone k bad sab dekhunga...
@giveyourbest1506
@giveyourbest1506 4 года назад
n=15 a=1 print(" Number of guesses is 5 times ") while (a5): print("GAME OVER!!") break
@himanshu.j
@himanshu.j 2 года назад
Smart
@ramkrishnayadav9335
@ramkrishnayadav9335 Год назад
thank you sir for teaching us.. 🙏🙏🙏
@AmazonGadgets-xh9se
@AmazonGadgets-xh9se 2 года назад
Harry Bhai you are awesome
@taseenfarhan584
@taseenfarhan584 3 года назад
Harry, can you please make a tutorial video on binaries for your biggest fan
@kshitij230
@kshitij230 3 года назад
n = 18 guesses = 10 print("You will get 10 chances to guess the number") userInput = int(input("Enter a number: ")) while True: guesses -= 1 if guesses < 10: print(guesses, "guesses are left") if userInput < n: print("Entered number is Smaller, Try some big one :)") userInput = int(input("Enter a number: ")) if guesses == 1: print("0 guess left, Better luck next time") break elif userInput == n: print("Congratulations you have guess the number correctly :)") print("Number of guesses you have taken to guess:", 10 - guesses) break else: print("Entered number is Larger, Try some smaller one :)") userInput = int(input("Enter a number: ")) ############ Made by Kshitij ############
@AhmadRaza-em7ec
@AhmadRaza-em7ec 2 года назад
n=25 number_of_guesses=1 print("Number of guesses is limited to only 5 times: ") while (number_of_guesses5): print("Game Over")
@smgaming8197
@smgaming8197 5 лет назад
Awesome harry bhai..👌🤪
@anandgp07
@anandgp07 2 года назад
Thank you Harry bhai for the video
@chiragpandit1763
@chiragpandit1763 Год назад
Harry Bhai this is Chirag I started a intern program in python . do mahine se office ja raha hunn par office me sare senior busy rehete hai apne project ko lekar . Me mechanical background se hunn to mujhe technically bahut problem ho rahi thi ye sab chije samajh ne me but Thanks to you itna simple language me python sikhane ke liye. par abhi mai thoda slow hunn mujhe raptar pakadne ke liye thoda assist kijiye .
@vanshika-w
@vanshika-w Год назад
same here , an intern in office trying to learn python
@brahmdevmahto2805
@brahmdevmahto2805 4 года назад
THANK YOU Sir python sikhane ke liye pahle mujhe kuchh nhi aata tha but jab se aapke videos dekh rha hu bahut kuchh sikh gaya hoo than you very sir Name:- Brahmdev mahto class:- 9th from:- Indore
@mokshaggarwal767
@mokshaggarwal767 3 года назад
n=18 for i in range(0,10): num=int(input("enter guess:")) if num==n: print("YOU WON") print("guesses left:",(8-i)) break if num>n: print("THODA KAM KARO BHAI") print("guesses left:",(8-i)) if num
@startjourney8631
@startjourney8631 4 года назад
Recently started Python /and learning /great job sir
@prafulvasave7519
@prafulvasave7519 3 года назад
Nice Video ❤
@divyanshbalodhi5642
@divyanshbalodhi5642 2 года назад
Mazaa aa gayaa sirji🙏
@dharajagad9486
@dharajagad9486 2 года назад
#guess the Number. i = 1 a = int(input("Enter the Numbers")) while(in): print("No is smaller") elif(m
@PakistaniMaterial
@PakistaniMaterial 5 лет назад
Great Brother
@utkalgourabmishra603
@utkalgourabmishra603 4 года назад
Bhai apne sab kuchh detail mein bolte ho aisa ki keyboard mein key kahan par hai ye bhi love u bhai from odisha 🥰🥰🥰, i want to learn coding and programming
@unparalleled9478
@unparalleled9478 2 года назад
import random n=random.randint(1,100) t=5 while(1): print("enter your guess you have ",t," chances left") x=int(input()) t=t-1 if t==0: print("you lose") break elif x==n: print("you won") break elif x
@Ryan_online
@Ryan_online Год назад
***In case of logical operators agar x and y hain to if x evaluates to True then result is y if x evaluates to False then result is x e.g. print(10 and 20), result => 20 print(0 and 20), result=> 0 agar or hai, like x or y to if x evaluates to True then result is x if x evaluates to False then result is y print(10 or 20), result => 10 print(0 or 20), result => 20
@dkudatewar26
@dkudatewar26 4 года назад
Please make a course on swift programming language
@zainabbas9232
@zainabbas9232 2 года назад
print("welcome to star party ") n = int(input("please input integar here in range of 10-> ")) b = n0: for s in range(n): print("*",end='') print(' ') n -= 1
@aliqamar5503
@aliqamar5503 2 года назад
thanks for sharing bro love you tutorial realy helpful
@PeaceYourSoul
@PeaceYourSoul 2 года назад
Awesome skill bro
@rubalbansal9310
@rubalbansal9310 3 года назад
n = 18 for i in range(1, 10): a = int(input("Enter a number: ")) if a > n: print("Entered no. is greater, try again!") print("No. of guesses left " + str(9-i) +" ") elif n > a: print("Entered no. is smaller, try again!") print("No. of guesses left " + str(9-i) +" ") elif n == a: print("Well Done!! The no. was " + str(n)) print("No. of guesses took " + str(i)) break
@AdityaSingh-tx6hf
@AdityaSingh-tx6hf 3 года назад
n = 20 guesses = 9 print('you have total chances: ' + str(guesses)) while(guesses > 0 ): x = int(input('Enter the no. ')) if (x > n): print('U have guessed higher no.') elif (x< n): print('U have guessed smaller no.') else: print('BINGO !!!') break guesses -= 1 if guesses == 0: print('You have lost') break print('Chances left =' + str(guesses))
@vishalkanojiya2543
@vishalkanojiya2543 2 года назад
its really helpful you are doing such a great work harry brother
@Yuvigrewall
@Yuvigrewall 5 лет назад
Harry bhaiya aap jaldi se comment out kr dete h koi shortcut key h comment out krne ki to btaiye na?
@CodeWithHarry
@CodeWithHarry 5 лет назад
ctrl + /
@anantgupta7916
@anantgupta7916 3 года назад
Love you@@CodeWithHarry bhai
@siddhantdahale2056
@siddhantdahale2056 3 года назад
@@CodeWithHarry Awesome trick
@hack4r
@hack4r 3 года назад
@@siddhantdahale2056 shift F10 for quick op if you are use extra keyboard
@k415hu7
@k415hu7 3 года назад
@@CodeWithHarry thanks bhai
@nearop2651
@nearop2651 4 года назад
Bhaiya last wala bitwise dimag ka dahi kar diya....
@rudrgupta4209
@rudrgupta4209 3 года назад
Amazing........................................
@parasgajjar9480
@parasgajjar9480 5 лет назад
thenktou bhai shikhane ke liye
@CodeWithHarry
@CodeWithHarry 5 лет назад
welcome bhai!
@akshatjain3354
@akshatjain3354 4 года назад
Bro please help i cant do exercises after even 10 times everytime i got error and i am watching your series regularly and praticing everything pls help😣😣😟
@proprabhat221
@proprabhat221 4 года назад
Tell me your code
@proprabhat221
@proprabhat221 4 года назад
#Here, refer mine #totalg variable means total guesses left.. n = 18 totalg = 9 print("You have to guess a number(n) we setted up. Hint: It's less than 50 You have total of 9 guesses.") while(True): if totalg == 0: if x == n: print("Congo, your guess was right. You took all" + str(9 - totalg) + " guesses. ") break else: print("You ran out of guesses.") break x = int(input("Type here: ")) totalg = totalg - 1 if x > n: print("Number was greater than n. " + str(totalg) + " Guesses left ") elif x < n: print("Number was less than n. " + str(totalg) + " Guesses left ") elif x == n: print("Congo, your guess was right. You took " + str(9 - totalg) + " guesses.") break
@akshatjain3354
@akshatjain3354 4 года назад
From where do you learn python and thanks for your response🤗🤗
@Gamingwithujwal
@Gamingwithujwal 4 года назад
Feel free to dm me on Instagram. Maybe I can help you. Username- logobang
@rohitmalhi88
@rohitmalhi88 4 года назад
guessNumber = 18 i = 0 totalRound = 5 while i < totalRound: i = i +1 print("Enter Number") n = int(input()) if i == totalRound: print("Game Over") elif n < guessNumber: print("Your Entered Number is Less than you have",totalRound-i,"chance") elif n > guessNumber: print("Your Enter Number is Greater than you have",totalRound - i,"chance") else: print("Congratulation you Won into",i,"Hit")
@shantanuhiwrale9843
@shantanuhiwrale9843 3 года назад
Please make a course on AI sir
@pspstories
@pspstories 3 года назад
6:03 i tried it out it is true not false agar i ki value 8 hai tab toh yeh 5 se bada hua na that is why but i like your way of teaching
@henthoibikolom352
@henthoibikolom352 2 года назад
Bro the value of i is not 8 he changed from 8 to 5 see
@henthoibikolom352
@henthoibikolom352 2 года назад
So 5 is not greater than 5
@priyanka89817
@priyanka89817 4 года назад
Thanku so much for providing such an awesome tutorial for free
@sn4ke11
@sn4ke11 3 года назад
Love you 😘😘😘😘 Bhai ❤️❤️❤️
@dikshapatil5978
@dikshapatil5978 3 года назад
thanks bhai
@dnpy2204
@dnpy2204 5 лет назад
great keep it up
@syedmiran6565
@syedmiran6565 3 года назад
Your legend 🔥
@deepanshuaggarwal5984
@deepanshuaggarwal5984 2 года назад
print("Game Start:- ") n=18 i=0 while in: print("Enter a smaller number" ) print(9-i,"Guesses left ") elif int1
@xertzsatan6335
@xertzsatan6335 2 года назад
#Python Exercise 4: Astrologer's Stars n =int(input('Enter num1 = ')) n2 = int(input('enter num2 = ')) print("Enter 1 or 0 :") bool_val = input("1 for True value or 0 for False : ") if bool_val == '1': for row in range(n): for col in range(row+1): print('*',end=' ') print() if bool_val == '0': for row in range(n): for col in range(row): print('x',end=' ') print()
@36-anilkumar97
@36-anilkumar97 3 года назад
Love u herry💓💓 bhai,but your vidio is working properly when vidio speed increseses
@review4ye-makemoneyonline136
@review4ye-makemoneyonline136 4 года назад
#Sagar L n = 18 g = 1 print("you have only 9 chance to guesses this number. ") while g 18: print("My Number is Less then " + str(choosenumber) + ", Don't Worry Enter again! ") elif choosenumber < 18: print("My Number is greater then " + str(choosenumber) + ", Don't Worry Enter again! ") else: print("Great you won the Game :)") print("you complete game in ", 9-g, "chance") break print(9-g,"chance left to win") g=g+1 if g>9: print("Game Over!")
@deepak6695
@deepak6695 4 года назад
Thanku
@karandagar1310
@karandagar1310 3 года назад
n=50 print("Welcome to my window Lets start playing with the numbers ") print("You have 9 chances to guess the number") count=9 while(True): print('enter the number') i=int(input('')) if(count==0): print('you have exceded the number of tries') print('Thankyou ') break elif (i > n): print("you have enter a graeter number please choice a lesser number to win") count = count - 1 print(f'you have left with {count} choices ') if(count!=0): continue elif(i
@ishtiaqahmad4118
@ishtiaqahmad4118 4 года назад
Really i am enjoying. I.A.Siddiqui
@mayurthorat512
@mayurthorat512 4 года назад
Supperb bhai ✌️
@flamboyantperson5936
@flamboyantperson5936 5 лет назад
Congrats bhai 5K subscribers ke liye. You are becoming popular everyday.
@PlasticEARTH
@PlasticEARTH 3 года назад
1 million
@flamboyantperson5936
@flamboyantperson5936 3 года назад
@@PlasticEARTH after 2 years he is ruling on youtube:)
@mehboobmaniyar1890
@mehboobmaniyar1890 5 лет назад
Sir ji aap ki biography per ek video banaye
@vishalavail2478
@vishalavail2478 5 лет назад
Very knowledgeable bhai
@achintaacharya4296
@achintaacharya4296 5 лет назад
Super 👍👌😀
Далее
ОРБИЗ-ГАН за 1$ vs 10$ vs 100$!
19:01
Просмотров 360 тыс.
Bro's Using 3 Weapons
00:36
Просмотров 4,2 млн
Please Master These 10 Python Functions…
22:17
Просмотров 172 тыс.
Learn Python OOP in under 20 Minutes
18:32
Просмотров 49 тыс.
10 Crazy Python Operators That I Rarely Use
11:37
Просмотров 29 тыс.
The if Statement in Python
18:25
Просмотров 15 тыс.
5 Useful F-String Tricks In Python
10:02
Просмотров 312 тыс.