0

I need help

what is the best way to practice different kinds of loops, l have exams next week and its on paper so , l don't know how to deal with it

3rd Oct 2024, 8:57 PM
R Alotaibi
R Alotaibi - avatar
5 Respostas
+ 1
R Alotaibi use the code-playground and create codes with various loops as practice.
4th Oct 2024, 4:50 AM
BroFar
BroFar - avatar
+ 1
Hello R Alotaibi ! Try Sololearn Playground it's the best platform to practice on. You may also review written codes from beginners' level to advanced. AlltheBest.
4th Oct 2024, 5:43 PM
ShadowCipher
ShadowCipher - avatar
+ 1
realpython.com/python-for-loop/
8th Oct 2024, 6:10 AM
In Ur Debt Too 😌
In Ur Debt Too 😌 - avatar
0
Not sure what your instructor is wanting to see from you. Obviously there are only a few types of loops. You could write a simple application that demonstrates each. for loops while loops do while loops generators But whether they want to see a simple candy machine app or perhaps something more complicated such as an airline reservation system with data organized into objects. A simple candy machine would be able to demonstrate loops simply by giving the app the ability to add products, set prices, list items, and perhaps give some basic report on sales or income. Even the smallest app might take you a few hours to do. A larger app could take a few weeks to get it right. If you only need to demonstrate the loops, then write one loop example in one function and another example in another function. It could be very simple and straight forward.
4th Oct 2024, 2:39 PM
Jerry Hobby
Jerry Hobby - avatar
0
why doesnt input work in python
5th Oct 2024, 9:18 AM
Charles Ijiomah
Charles Ijiomah - avatar