A for loop is used when:, We want to run the code only once, The repetition depends on a condition, The number of repetitions is unknown, The number of repetitions is known, . In programming, a function means:, Creating new variablesCreating new variables, Storing data, Repeating code, A tool to perform a specific task, The code inside a function must be:, Inside parentheses, Written with indentation, Without indentation, Written after a semicolon (;), The key word "def" is used for:, Creating a variable, Creating a loop, Defining a function, Printing text, A while loop continues to execute as long as:, The number of repetitions is known, The condition is true, The number of repetitions = 0, The condition is false.
0%
Alaa
Share
Share
Share
by
He9995b
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
Open results
Copy link
QR code
Delete
Continue editing:
?