CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
Python Quiz #8

One Loop Shape Two Problems

mediumProblem Solving

"Print the even numbers up to 50" and "print the prime numbers up to 50" are solved by the same loop shape: visit every number in turn and keep the ones that pass a test. Noticing that the two problems share this shape is which toolkit step?