Looping Statements in Python | Iterative Statements in Python | For and While in Python
HTML-код
- Опубликовано: 19 сен 2024
- Click Here for Python Course in Telugu 👇
pythonlife.in/...
Telegram:
t.me/python_li...
GitHub link:
github.com/kir...
Instagram-link:
www.instagram....
Facebook link:
/ python-life-telugu-107...
Linkedin:
/ kiran-sagar-a00a761b2
Basic to Advance Python Programming in Telugu
Free Demo Visit: pythonlife.in/python-course-in-telugu.html
We Provide
1.Daily Live Classes
2.Recording Clasess
3.Study Material
4.Real Time Projects
5.Certification
6.Placement Assistance
Mock Interviews.
Resume Building.
Daily Job Updates
Interview Questions
Timings:7pm to 9pm
Duration: 45Days
Contact Numbers:
9154083255
Thank you sir 🙏🙏🙏🙏👍
thank you bro
Bro you tell theory to for loop print even numbers as
For I in range(0,10,2)
Print(i)
and the out put 0,2,4,6,8 .
but in practical we see the output of that code is,
1,3,5,7,9
Please check
Range starts from (1,10,2)
Output:-1,3,5,7,9
Range starts from(0,10,2)
Output:-0,2,4,6,8
Excellent teaching sir
Hi bro can you please explain the below code
for i in range(4,8):
pass
print(i)
Hi brother..nenu guvi zen classes attend avthunna..not familiar with the coding background...elanti practice unte nenu success avvagalanu...but I have interested to get good data science career...
Good lntersting anna
annaya even numbers ela print cheyalo using while loop okasari chpthara
i=1
while i>0:
n=int(input("Enter a number"))
if (n%2==0):
print("Even")
else:
print("Odd")
i+=1
Super Anna
super class
Hi sir meru practical ga chepthe nka betterga ardham avthadi I mean projector lo
17 .00 akkada
kiran =9
While kiran
you need to keep colon after while :
And also i got it
Brother i want your continuous class
Bro could you please explain product of digits program
Anna data structures mida videos chey anna
Brother meru chepina examples ki meru chepina output Asallu ravatam ledhu
seems problem with mic while you are trying to demo the program on system. Please check and correct it
Bro can you explain the difference between below two loops
for i in range(4,8):
pass
print(i) -------- o/p=4,5,6,7
-----------------
for i in range(4, 8):
pass
print(i) -----------o/p = only 7
What is difference b/w these two loops
First dantlo Aa print statement anedhi for lopala undhi bro kani second dhi ledhu
For loop kinda line lo 4 spaces tiskoni print rastey aa I values Anni kooda repeat ayyi print avtayi. Adey bayta rastey last final I value okatey print avvudi
Fact = 5
for I in range (4) :
fact = (fact * i)
Print(fact)
Answer cheppu anayya yelano naaku ardham kaavadam ledu
Input:
Fact = 5
for i in range (4):
fact = (fact *I)
print (fact)
Output
0
0
0
0
>
Output radam ledu bro
Maku Kiran is not defined Ani error vastundi