Converting While Loop Programs to For Loop in Python | In Hindi

  Рет қаралды 29,569

codeitup

codeitup

Күн бұрын

Пікірлер: 62
@akshayjain7636
@akshayjain7636 3 жыл бұрын
I dont know how do you find a so much easy way to explain so difficult problems sir. Hats Off to you sir.
@codeitup
@codeitup 3 жыл бұрын
Thanks a lot Akshay for your lovely comment😊
@dhruvsharma9230
@dhruvsharma9230 2 жыл бұрын
@@codeitup SIR PLEASE DS ALGO SERIES BANA DIJIYE LOVE BABBAR SDE SHEET SE YA STRIVER SDE SHEET SE HINDI ME SARE QUESTIONS SOLVED HAI FOR LOVE BABBAR GEEKS FOR GEEKS ME
@Vibeshai
@Vibeshai 6 ай бұрын
Yr itna accha pdaya inhone aur 1000 se km likes aur 20k views? Glt baat baccho😮 Bahut accha pdaya aapne sir❤
@onlycoc7599
@onlycoc7599 3 жыл бұрын
your teaching with a smile in your face, " I LIKE IT "👍👍👍👍👍👍👍👍👍
@codeitup
@codeitup 3 жыл бұрын
Thanks dear😊
@RumaPatra-sz2zi
@RumaPatra-sz2zi 6 ай бұрын
a = int(input( " Enter a Lower Limit : " )) b = int(input( " Enter a Upper Limit : " )) so = 0 se = 0 pe = 1 po = 1 for i in range(a, b + 1): if(i%2==0): se = se + i pe = po * i else : so = so + i po = po * i print( " Sum of the Even Number : ", se) print( " Sum of the Odd Number : ", so) print( " Product of the Even Number : ", pe) print( " Product of the Odd Number : ", po) It WORKED SIR.... Thank u sir........
@keshavagarwal5639
@keshavagarwal5639 Жыл бұрын
You made it so easy on other channel it is made very hard to understand. Thanks sir
@codeitup
@codeitup Жыл бұрын
Glad to hear that!
@kingtechnology1062
@kingtechnology1062 2 жыл бұрын
Seriously this is so helpful it deserves 1M likes actually, very simple explanation thank you you much sir, my exam is tmrw and I was searching for easy ones and your vid explained everything thx so much
@codeitup
@codeitup 2 жыл бұрын
Glad to help you & best of luck for your exam!
@luciferraze3590
@luciferraze3590 Жыл бұрын
Sir You are super!!! Thankyou for teaching us
@codeitup
@codeitup Жыл бұрын
Thanks and welcome!
@pruthvirajsinhzala4441
@pruthvirajsinhzala4441 2 жыл бұрын
are sir ye playlist is very nice kal mera cs ka paper hai apke videos dekh ke sab samaj mai agaya aap explain bohot acha karte ho
@codeitup
@codeitup 2 жыл бұрын
Thanks Pruthiviraj, keep learning😊
@motivation_factory_001
@motivation_factory_001 2 жыл бұрын
Computer wallah 🥰
@codeitup
@codeitup 2 жыл бұрын
😊
@RahulKumarSinghaniya-d6m
@RahulKumarSinghaniya-d6m Жыл бұрын
number = int(input("Enter a number: ")) total_sum = 0 # Convert the number to a string to iterate through its digits for digit_char in str(number): digit = int(digit_char) total_sum += digit print("The sum of the digits is:", total_sum) you teach us at 14:45 duration that we can do this by for loop. now i am helping you to do this in different way and challenging you please give me a question which will done by while but not possible by for loop
@ankitanand1046
@ankitanand1046 2 жыл бұрын
Sir You are the best teacher to explain such concepts like a cakewalk
@codeitup
@codeitup 2 жыл бұрын
Thanks a lot Antik!
@harshsingh5762
@harshsingh5762 2 жыл бұрын
Jabarjast padhawela guru...ek no. per ek series practice k bhi banava 200-300 questions karwa da plz.
@harshsingh5762
@harshsingh5762 2 жыл бұрын
How many of u guys want more practice, plz comment here.
@arpitapandey8645
@arpitapandey8645 Жыл бұрын
Thank you sir❤
@codeitup
@codeitup Жыл бұрын
Most welcome!
@MalegaonDiary
@MalegaonDiary 3 ай бұрын
# For loop without start value - 0 to 10 for i in range(11): print(i) # start value - 1 to 10 for i in range(1,11): print(i) # Increase by 2 range(start value, end value, increamental value) # start value=1, End Value=10, increment value=2 for i in range(1,11,2): print(i) # Print numbers from 10 to 1 for i in range(10,0,-1): print(i) # Print 2 to 20 for i in range(2,21,2): print(i)
@haisesasaki3572
@haisesasaki3572 Жыл бұрын
sir you're amazing.♥
@JaiprakashSodi-hz3qh
@JaiprakashSodi-hz3qh 10 ай бұрын
thank you so much sir really your explain very well 🥰🥰❤❤❤❤❤❤❤
@codeitup
@codeitup 10 ай бұрын
Most welcome Jaiprakash!
@PoojaVerma-mc3lh
@PoojaVerma-mc3lh 11 ай бұрын
You are the best👍💯 thank you
@codeitup
@codeitup 11 ай бұрын
Most welcome Pooja!
@AnuragMishra-ob1er
@AnuragMishra-ob1er Жыл бұрын
hlw sir ji thanku for all you do for us 😍🤗
@deepakmishra2779
@deepakmishra2779 2 жыл бұрын
sir please ek baar ek video kha while loop use karte hai aur kha for loop use karte hai ek baar acche se exmplain kar digiye . kyo ki sir app ne jo btaya hai sum app digit to dono me ho sakta hai. num=input("Enter a number:") sum=0 for n in num: sum = sum + int(n) print(sum) #### same program by while loop i = int(input('ENTER YOUR NUM')) sum = 0 while (i>0): sum = sum+i%10 i=i//10 print(sum)
@adarshraiwal6194
@adarshraiwal6194 2 жыл бұрын
Sir you are best
@codeitup
@codeitup 2 жыл бұрын
🙂
@rishabh9903
@rishabh9903 3 жыл бұрын
SIR PLEASE PLEASE HUGE REQUEST TO CREATE A SEPERATE PLAYLIST OF SESSION 2020-21 WITH NO DELETED TOPICS PLEASE SIR SO THAT WE CAN WATCH YOUR VIDEOS CONFIDENTELY
@mansisingh2434
@mansisingh2434 3 жыл бұрын
Thankuu so mucch sirr❤❤
@codeitup
@codeitup 3 жыл бұрын
Most welcome Mansi!
@Funwithpaperalso2008
@Funwithpaperalso2008 5 ай бұрын
Attendance of 2024....😅here plz....also hats off to u sir🎉🎉
@python8888
@python8888 3 жыл бұрын
# to add the digits using while loop i = int (input ("Enter the number : ")) sum = 0 while i > 0 : sum = sum + i %10 i = i //10 print (sum) # to add the digit using for loop a = input ("Enter the number : ") sum = 0 for i in a : sum = sum + int (i ) print (sum )
@lbath76
@lbath76 Жыл бұрын
Thanks a lot sir
@codeitup
@codeitup Жыл бұрын
Most welcome!
@sanatanbharat1947
@sanatanbharat1947 Жыл бұрын
Love the video
@codeitup
@codeitup Жыл бұрын
🙂
@suruchisingh4155
@suruchisingh4155 3 жыл бұрын
It's ammazing
@codeitup
@codeitup 3 жыл бұрын
Thanks Jayant!
@vikassonkar861
@vikassonkar861 3 жыл бұрын
sir can you please explain , new pattern of exam(2021-2022) term 1st mcq based k question kaise aayenge? sir passing marks kaise laye?? (CBSE BOARD)
@nextstep954
@nextstep954 3 жыл бұрын
Class 12 new batch kab start hoga
@codeitup
@codeitup 3 жыл бұрын
At this stage I think no batch is going to be started. However, you may mail to: codeitupofficial@gmail.com
@lavsingh2175
@lavsingh2175 3 жыл бұрын
Sir For loop me initialize bhi kr diya And increment/Decrement bhi but condition to lgaayi hi nhi h hmne🙄 Serial No. Ko print krne me Koi condition kyu nhi lg rhi.
@anilsingh62110
@anilsingh62110 3 жыл бұрын
Sir please answer this write a menu driven python program to update the marks of named keerthika to 460
@anilsingh62110
@anilsingh62110 3 жыл бұрын
For class 12 python
@vanshikagupta7689
@vanshikagupta7689 3 жыл бұрын
👏
@codeitup
@codeitup 3 жыл бұрын
😊
@deepakkarki3179
@deepakkarki3179 2 жыл бұрын
one day before exam 😂🤝
@codeitup
@codeitup 2 жыл бұрын
👍
@nextstep954
@nextstep954 3 жыл бұрын
Please reply sir 🙏 🙏
@codeitup
@codeitup 3 жыл бұрын
At this stage I think no batch is going to be started. However, you may mail to: codeitupofficial@gmail.com
@bijaymahato1798
@bijaymahato1798 3 жыл бұрын
I feel like he is bihari....
@codeitup
@codeitup 3 жыл бұрын
Yes, I'm Bihari 😊
@pranavverma4169
@pranavverma4169 3 жыл бұрын
You are given a dictionary priceList = {"Pen" : 10, "Pencil" : 5, "Eraser" : 5, "Ruler" : 20}, representing products and their rates.  write a function rate that accepts this dictionary along with the name of a product and returns the price of that product. If the product does not exist in the dictionary, then it should return -1. For example, if the name of the product is Ruler then the function should return 20. Sir please help me out in this problem of python programming..
@codeitup
@codeitup 3 жыл бұрын
def search(priceList,key): flag=0 for i in priceList: if i==key: flag=1 return priceList[i] if flag==0: return -1 #__main__ priceList={"Pen":10,"Pencil":5,"Eraser":5,"Ruler":20} key=input("Enter Item to be searched:") val=search(priceList,key) if val==-1: print("Element Not Found:") else: print("The Price of ",key," is=",val)
@pranavverma4169
@pranavverma4169 3 жыл бұрын
@@codeitup thanks alot sir..😊😊
Computer Networks | Networking | One Shot Video | In Hindi
4:04:43
[BEFORE vs AFTER] Incredibox Sprunki - Freaky Song
00:15
Horror Skunx 2
Рет қаралды 19 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 660 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 15 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 115 МЛН
Introduction to While Loop in Python - In Hindi
13:30
codeitup
Рет қаралды 158 М.
Introduction to For Loops in Python - In Hindi
12:58
codeitup
Рет қаралды 152 М.
String in Python - In Hindi
12:03
codeitup
Рет қаралды 85 М.
Nested Loop in Python - In Hindi
10:48
codeitup
Рет қаралды 159 М.
Break and Continue In Python - In Hindi
8:47
codeitup
Рет қаралды 67 М.
String Slicing in Python - In Hindi
9:50
codeitup
Рет қаралды 94 М.
[BEFORE vs AFTER] Incredibox Sprunki - Freaky Song
00:15
Horror Skunx 2
Рет қаралды 19 МЛН