Winter Bootcamp in ML and IoT in Jaipur
 Course content (For Bootcamp & Winter Training):- Machine Learning (ML) || Internet of Things (IoT) || Register for winter bootcamp
0 like 0 dislike
in Tutorial & Interview questions by (3.3k points)

1 Answer

0 like 0 dislike
by (3.3k points)
selected by
 
Best answer

While Loop in Python

# Initialize variable i with value 0
i = 0
# Initialize an empty list
count = []

# Start executing the while loop untill the value of i is less than 8

while i < 8:
   print ('The number is %d' % i)
   count.append(i) # Append the value to the empty list
   i = i + 1 # Increment the value of variable i in steps of 1
   print ('The numbers in count list is:', count)

# Execute for loop using the values in count list

for numbers in count:
print ('The numbers from the count list are: %d' % numbers)

Winter 10 Days boot-camp classes(7 HRS Daily) will start from 5, 20 & 27 December 2019 in:
1) Internet of things(IoT) Using RASPBERRY-PI
2) Machine Learning (ML)

70% OFF| Fee-INR 3,000/-

Limited seats!! Hurry up!!

[[ CALL - 07976731765 ]]

Some Study Resources are compiled from original Stack Overflow Documentation, the content is developed by the different experts at Stack Overflow. Study resources are released under Creative Commons BY-SA. Images may be copyright of their respective owners. This website is for self-learning and not affiliated with Stack Overflow. All trademarks and registered trademarks are the property of their respective company owners. Please send feedback and corrections to chandwaglobal@gmail.com.

...