#09 For Loop with examples Part 1 | in Tamil | Python Tutorial Series | Error Makes Clever Academy

  Рет қаралды 91,248

Error Makes Clever

Error Makes Clever

Күн бұрын

In this video, we will learn about loops in programming and how they can be used to repeat a set of instructions multiple times. We will cover the different types of loops and provide examples of how they can be used in code.
Introduction:
We'll start with the basics, explaining what loops are and why they're important. We'll then dive into the different types of loops in programming languages such as for loops, while loops, and do-while loops. We'll provide examples of how each of these loops can be used to solve common programming problems.
Body:
1. What are Loops?
Explanation of Loops and their importance
Why are Loops essential in Programming?
2. For Loop
Syntax and examples of For loop
Explanation of how For loop works
Example of using For loop to print a list of numbers
Conclusion:
In conclusion, we covered the basics of loops and provided examples of how they can be used in code. We hope that this video helped you understand loops and their importance in programming. If you have any questions or suggestions, please feel free to leave them in the comments section below. Don't forget to subscribe to our channel for more programming tutorials. Thanks for watching!

Пікірлер: 101
@iamasharetrader8729
@iamasharetrader8729 Жыл бұрын
6 months uh Ethu etho video lam pathu last la namaku coding lam varathu pola nu think pana apo......verum 6 videos la confidence uh koduthuteenga❤❤❤❤
@reganandrew1737
@reganandrew1737 4 ай бұрын
same feeling bro
@dhaksharupeshkumar28
@dhaksharupeshkumar28 Жыл бұрын
Sir small request... Intha question ella pdf ah description la post panna romba usefull ah irukum🥺
@karthikpandian8522
@karthikpandian8522 Жыл бұрын
Anna ... All python chapters uploaded pannunga .help me my job
@subasreek
@subasreek Жыл бұрын
Bro, UI/UX kum nennga videos ithu mari upload pannaunga plz... Keep 🤘 rocking bro... Your teaching method is so good... Don't stop it..
@sivakumarsubramani562
@sivakumarsubramani562 10 ай бұрын
e_count=0 o_count=0 a=int(input("entre the value of a:")) b=int(input("entre the value of b:")) for i in range(a,b): if(i%2==0): e_count=e_count+1 else: o_count=o_count+1 print("no. of add number:", o_count) print("no. of even number:", e_count)
@subashsmiles5447
@subashsmiles5447 5 ай бұрын
We can go with this as well, for i in range(2, 11, 2): print(i), however you have not yet introduced step function, so for "for" loop may be an initial alternative basic code for even number:
@arunhhh333
@arunhhh333 Жыл бұрын
e_count=0 o_count=0 for i in range(1,11): if(i%2==0): e_count=e_count+1 if(i%2!=0): o_count=o_count+1 print("Even :", e_count) print("Odd :", o_count)
@sigo4323
@sigo4323 10 ай бұрын
Ella numberum 1 alla divide ana remainder 0 tha bro varum
@shahidshivastephan6848
@shahidshivastephan6848 8 ай бұрын
Annanuku oru oothappamm
@sangeethaa3045
@sangeethaa3045 Ай бұрын
Anna neeninga vera leval 👍🏻
@ErrorMakesClever
@ErrorMakesClever Ай бұрын
Thanks!!
@keerthana4386
@keerthana4386 5 ай бұрын
Hi bro..Explain pandrathu romba Athiga neram edukarenga..Code laiye Clear a puriyara Simple questions ku kamiya explaination kudutha nalla irukum..Romba neram Explain panitae iruntha Confuse aguthu
@pushpalathak4796
@pushpalathak4796 7 ай бұрын
Program:4 count=0 for i in range (1, 11): if(i%2==0): count=count+1 print("even", count) count=0 for i in range (1, 11): if(i%2==1): count=count+1 print("odd", count) Intha method use panna out put even 5 odd 5
@johndirose1687
@johndirose1687 3 ай бұрын
Cound=0 For i in range (1,5): If(i%2==0): Cound=cound+1 If(i%2): Cound=cound+1 Print(cound) Print(cound)
@johndirose1687
@johndirose1687 3 ай бұрын
Cound=0 For i in range (1,5): If(i%2==0): Cound=cound+1 If(i%2): Cound=cound+1 Print(cound) Print(cound)
@hayyaalalfalah3076
@hayyaalalfalah3076 11 ай бұрын
there are 20 numbers divisible by 5 and 33 numbers divisible by 3 so the total numbers which are divisible by both 3 and 5 between 1 to 100 are 20+33=53 numbers. so 53 numbers are there which are divisible by both by 3 and 5 and the numbers are between 1 to 100.
@BLACKPRINCE_FF
@BLACKPRINCE_FF 8 ай бұрын
Enaku intha doubt thaa vanthuchii But yen EMC bro i%3==0 pottarunu puriyala
@coddscreation1685
@coddscreation1685 Жыл бұрын
in for loop example for i in range (1,5).....we can get range from 1 to 4 only so the value will not reach upto 5
@soniya28096
@soniya28096 8 ай бұрын
Count the number of odd number between 1 and 10.. Count=0 for i in range(1,11): if(i%2==0): Count=count else: Count=count+1 Print(count)
@Mukeshkanna1111
@Mukeshkanna1111 7 ай бұрын
i=0 for Numbers in range(1,101): if(Numbers%3==0 and Numbers%5==0): i=i+1 print("Divisible by 3n5 is",Numbers,"and it's count is",i)
@roger.r6955
@roger.r6955 Жыл бұрын
count=0 for i in range(1,11): if(i%2 or 1==0): count=count+1 print("Even :",count) print("Odd :",count) Bro ipdi podalama??
@Msdhoniand
@Msdhoniand 11 ай бұрын
Wrong
@R.A.G.U.L
@R.A.G.U.L Жыл бұрын
@ErrorMakesClever bro is this correct?Please tell '''Count the number of odd and even number between 1 and 10 and print it''' count = 0 count1 = 0 for i in range(1,11): if i % 2 == 0: count = count + 1 if i % 2 != 0: count1 = count1 + 1 print("Even =",count) print("Odd =",count1)
@anbuakanbuak3294
@anbuakanbuak3294 Жыл бұрын
Thank you bro ..na rampanerama etha try pannuna apm unga message paththu , podda answer vanthuruchi tq
@R.A.G.U.L
@R.A.G.U.L Жыл бұрын
@@anbuakanbuak3294 My pleasure😃
@subashsmiles5447
@subashsmiles5447 5 ай бұрын
count = 0 e_count = 0 for i in range (1,11): if i%2!=0: count=count+1 print("Number of odds : ", count) for i in range (1,11): if i%2==0: e_count=e_count+1 print("Number of even : ", e_count)
@muhmammedsuhail045
@muhmammedsuhail045 Жыл бұрын
#print even number between the given numbers. a=int(input("Enter a : ")) b=int(input("Enter b : ")) if(a
@christinajenifer3440
@christinajenifer3440 Жыл бұрын
Super explanation Agnel John anna ......keep it up .......keep rocking..........waiting for your upcoming videos
@Nareshvaithi
@Nareshvaithi Жыл бұрын
Nice teaching bro🤓
@devilsonsfreefire544
@devilsonsfreefire544 Жыл бұрын
Bro you're really a good tutor I need solidity programming make it brother Blockchain technology yae solli kudunga
@SKTheConqueror
@SKTheConqueror 10 ай бұрын
count_div_3 = 0 count_div_5 = 0 for i in range(1,101): if i%3==0 and i%5==0: count_div_3= count_div_3 + 1 count_div_5= count_div_5 + 1 print("divisibles of 3:",count_div_3) print("divisibles of 5:",count_div_5)
@Motive_Boost_1997
@Motive_Boost_1997 7 ай бұрын
Good Explanation❤
@androidwarriorstamil8313
@androidwarriorstamil8313 Жыл бұрын
Bro web developing full tutorial podunga javascript and react js .
@computrons2023
@computrons2023 Жыл бұрын
#print 1to10 even number for i in range(0,11,2): print(i)
@SadiqsChannel
@SadiqsChannel Жыл бұрын
Efficiency
@vidhya_bharathi_raj
@vidhya_bharathi_raj 9 ай бұрын
Clear explanation ❤😊
@RANJITHARAJENDRAN-b3f
@RANJITHARAJENDRAN-b3f Жыл бұрын
Bro (1,5) 4 varaiku thaana check aaagum neenga yen 5 yu chech panreenga
@lalithatamil5708
@lalithatamil5708 11 ай бұрын
Thanks for yr clear explainations.. Keep going bro
@subashsmiles5447
@subashsmiles5447 5 ай бұрын
Why did'nt you mentioned we can use ""else"" and ""if"" statement in ""for"" loop in the beginning of every exercise??. It made us so confused
@sundaramoorthymonishkanna
@sundaramoorthymonishkanna 6 ай бұрын
Bro pls put some video about blockchain technology in detail
@masssurya5262
@masssurya5262 Жыл бұрын
Sir inda python la neenga upload panna 27 videos and inda series sa mudichita learn pannita namma resume la python developer nu add pannikalama sir certificate ilama pls tell me
@Shree_ee
@Shree_ee 4 ай бұрын
SKILL is more important than a Certificate.
@SATHISHKUMARM-g6r
@SATHISHKUMARM-g6r 2 ай бұрын
for i in range(1,6): print(i*2)
@nabelas1393
@nabelas1393 Жыл бұрын
Hi bro. In the above video time: 24.37 - you mentioned like range(1,5) - In this case - it will take 1,2,3,4 but how you included 5. please explain.
@BalajiBalaji-uk5ew
@BalajiBalaji-uk5ew Жыл бұрын
It just a mistake bro , he did not notice it
@E-Hariharan
@E-Hariharan Ай бұрын
a=1 b=101 i=0 f_count=0 for i in range(a,b): if i%3==0: print(i) if i%5==0: f_count=f_count+1 print(f_count) for th above code i got answers 100 and 21 i don know what happens in i%5 part b'caz i change only i%3 part out the output of i%5 part is giving wrong answer can you explain why?
@ajiivlogs133
@ajiivlogs133 8 ай бұрын
Boro count value puriya matikuthu..😢
@Manikandan-joker
@Manikandan-joker Жыл бұрын
for i in range(1,6): print(i*2) "(For question No 2)"
@ramyadh
@ramyadh 9 ай бұрын
Wrong method
@sivachandiranv2261
@sivachandiranv2261 Жыл бұрын
Bro Andha document file link kudunga bro download panni work senju pakka..questions irukra word file
@pharaohxsquad5019
@pharaohxsquad5019 Жыл бұрын
Prime number epdi kandu pudikurathu
@MariappanKulasekaran-qg8pu
@MariappanKulasekaran-qg8pu Жыл бұрын
Thanks ❤
@thennarasu..official8503
@thennarasu..official8503 Жыл бұрын
Tnx brow basic explain
@menonnmegavarshan6653
@menonnmegavarshan6653 Жыл бұрын
Bro 3rd que ku odd la syntax mattum epdinu sollunga
@mackdineshvlogs6266
@mackdineshvlogs6266 7 ай бұрын
Bro count arambikumbothu 3rd question sollama, directa count kulla poiringa nu nenaikuren ,konjam confuse aguthu.kindly mention the timing for 3rd question in count,Na scroll panni pathen enaku neenga question 3 vanthu sollama aramuchamari theriuthu.
@Soundhar_jack
@Soundhar_jack 3 ай бұрын
For loop example ❤
@trustyourself7465
@trustyourself7465 Жыл бұрын
Bro, Count=0 For i in range(1,5): if(i%2==0): ithula 2 & 4 kidaikum count=count+1 (ipdi kukum pothu count kitta ippo 2&4 aathavathu count kitta ippo 2numbers iruku appo, count=2+1 appo nammaku ans 3 thaana bro varanum)
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
When i=2=> Count=count+1 (count=0+1) Now count value is 1 When i=4=> count=count+1 (count =1+1) Now count value is 2 Count =2 nu print agum.
@sivakumarsubramani562
@sivakumarsubramani562 10 ай бұрын
div_count=0 not_div_count=0 a=int(input("entre the value of a:")) b=int(input("entre the value of b:")) for i in range(a,b): if(i%3==0 and i%5==0): div_count=div_count+1 else: not_div_count=not_div_count+1 print("Not divisible by both 3 and 5:", not_div_count) print("divisible by both 3 and 5:", div_count) a=1; b=101
@kavitamukhesh9401
@kavitamukhesh9401 3 ай бұрын
Anna epadi forloop la odd numbers mattum print pandradhu?
@Msdhoniand
@Msdhoniand 11 ай бұрын
Hi numpy pandas scipy ku video podunga
@comedyhut5485
@comedyhut5485 25 күн бұрын
Bro enaku count layee 1,2,3,4,5 nu output varuthu broo
@user-lz8mq4wt1l
@user-lz8mq4wt1l Жыл бұрын
Bro python ellama cover pannunga brother
@seethalakshmi9504
@seethalakshmi9504 Жыл бұрын
Super bro 🎉
@sreenivasan007
@sreenivasan007 Жыл бұрын
congratulations for 400k subscriber
@SurendranS-j1g
@SurendranS-j1g 8 ай бұрын
Anna str concatenate thana bro Aprom yapadi for la use pannuriga Online compiler error kattuthu bro
@Gojohatake-rz5ko
@Gojohatake-rz5ko 7 ай бұрын
bro 'print' ku tab space kudutha if ku ulla poguthu,tab kudukalena if vittu exit agiudhu😮
@ABDURRAHUMANM22ITL001
@ABDURRAHUMANM22ITL001 6 ай бұрын
anna odd even count edukura mari user input kuduthu odd even count edukanum ena na pannanum
@Goldencupid777
@Goldencupid777 Жыл бұрын
Bro count = 0 Conut =count+1 na 0=0+1 thana varu illa equalt ku munnadi irukura conut variable na Conut =0 a = count+1 Print(a) ipdi kudukalama?
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
Count = nu podrapa adhu variableah dhan bro consider panikum. And neenga solra mari a=count+1 nu podalam. Apo neenga a=0 nu assign pananum first.
@Goldencupid777
@Goldencupid777 Жыл бұрын
@@ErrorMakesClever ok bro 👍😊
@HasanAli-en7wi
@HasanAli-en7wi 4 ай бұрын
Please note that when u say count the even numbers between 1 and 10, the actual answer is 4 as 10 is not included. So when you code You have to code like: for i in range(1,10) You should not code like: for i in range(1,11)
@johndirose1687
@johndirose1687 3 ай бұрын
Cound=0 For i in range (1,5): If(i%2==0): Cound=cound+1 If(i%2): Cound=cound+1 Print(cound) Print(cound)
@keerthanakounder8786
@keerthanakounder8786 4 күн бұрын
Do you get the output correct??​@@johndirose1687
@DineshKumarT
@DineshKumarT Жыл бұрын
What will happen ,if I give count i statement
@samriinfra
@samriinfra Жыл бұрын
question 5 oda program correct ah bro
@afsarthambi8781
@afsarthambi8781 Жыл бұрын
Bro unga video pathu learn panna future la enaku job kedaikuma
@shakespearea6500
@shakespearea6500 8 ай бұрын
Y we cant use step (1,11,2)
@imranyt7991
@imranyt7991 Жыл бұрын
Broo naa C++ language padichitu irukan bro ippotha intha nerathulaye unga tutorial paathu naa python nu padikalam laa illa venam ah bro
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
Confuse panikadheenga bro, edhavdhu onnula concentrate panunga podhum.
@lathikaeswari820
@lathikaeswari820 Жыл бұрын
Anna 2nd yr bsc.cs padikuran ethavathu internship erundha sollunga na
@mithraiyyappan263
@mithraiyyappan263 Жыл бұрын
Bro what is the meaning qnd use of in
@iamasharetrader8729
@iamasharetrader8729 Жыл бұрын
Bro last problem la......entha number lam divide aguthu nu paaka mudium uh ?
@rabina3003
@rabina3003 Жыл бұрын
After if statement Print(i) kudunga varum
@nirmal_kumar_143
@nirmal_kumar_143 Жыл бұрын
Count kandu pudika len method use pana mudiyuma bro loop la 🤔
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
Oru string oda length or list oda length kandupudika use panlam bro. Namma problemsla use pana mudiadhu.
@nirmal_kumar_143
@nirmal_kumar_143 Жыл бұрын
@@ErrorMakesClever ohhh ok ok Bro... Thank you .
@kuthalingambalu4398
@kuthalingambalu4398 4 ай бұрын
Bro our doubt
@foxmediacuts6898
@foxmediacuts6898 Жыл бұрын
Bro same side java pleasr
@abinayaarivuchelvam
@abinayaarivuchelvam 10 ай бұрын
Anna certificate irukka anna
@saran381
@saran381 9 ай бұрын
😂😂
@kabirahamed5601
@kabirahamed5601 Жыл бұрын
Anna nan 10th finish pannitu mechanical engineering mudichtan ippo it field la work panunna python course padicha matum podhuma anna😢pls na reply. Illa na Be csc finish pananuma🧐
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
Pythonla strong aitu adhu reltedah projects irndha u can start applying for jobs bro.
@kabirahamed5601
@kabirahamed5601 Жыл бұрын
@@ErrorMakesClever appo BE CSC panna teva illa ya anna
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
@@kabirahamed5601 BE already Mechanicala engg mudichteenga dhana ? Andha degreey podhum bro.
@kabirahamed5601
@kabirahamed5601 Жыл бұрын
@@ErrorMakesClever illa na only diploma matum mudichirukan BE PADIKALA
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
Nerya companies Degree edhirpapanga bro. But some start up companies won’t expect. Neenga slill devwlop panni andha mari companieskula poita aprm endha companiesku venalum shift agika mudium.
@nenjampesutheismath5188
@nenjampesutheismath5188 8 ай бұрын
ஹாய் ப்ரோ உங்க வீடியோ பாத்து தான் கத்திகிட்டேன் இதே லூப் வீடியோக்கு எப்டியெல்லாம் எழுதாலாம்னு நான் முயற்சி பண்ணத பாருங்க ஓகே வும் ஆகுது a=int(input("Enter A:")) b=int(input("Enter B:")) for i in range(a,b): print(i) E_count=0 O_count=0 for i in range(a,b): if(i%2==0): E_count=E_count+1 O_count=O_count+1 print("Even Number=",E_count) print("Odd Number=",O_count) Enter A:1 Enter B:11 1 2 3 4 5 6 7 8 9 10 Even Number= 5 Odd Number= 5 [Program finished]
@yogagandhi5479
@yogagandhi5479 6 ай бұрын
for i in range(1,6): print(i*2)
#10 Understanding for loops with  List | Python Tutorial Series | EMC Academy
32:58
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 44 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 28 МЛН
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Funny superhero siblings
Рет қаралды 10 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 25 МЛН
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 973 М.
For loops in Python are easy 🔁
5:06
Bro Code
Рет қаралды 330 М.
Python in 1 Hour | Tamil
1:33:06
JVL code
Рет қаралды 21 М.
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 44 МЛН