Python basics

What does a while-True loop do?
Loop over code a specific number of times
Ioop over code infinitely
None of the above
Runs code in certain circumstances
What does a for-Loop do?
Loops over an array
Gives each number within a given range
All of the above
What does an if statement do?
Runs code under specific circumstances
Loops over code until a circumstance is not true
Loops over code infinitely
Allows you to access a block of code in one line
What does a function do?
Loops over code infinitely
Allows you to access a block of code in one line
Loops over an array
Gives each number within a given range
What does a while-Loop do?
Loops ove code infinitely
Loops over code until a condition is untrue
Gives each number within a given range
Allows you to access a block of code in one line
 
{"name":"Python basics", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What does a while-True loop do?, What does a for-Loop do?, What does an if statement do?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker