Question: PARTICIPATION ACTIVITY 5 . 5 . 2 : Creating for loops. Complete the for loop statement by giving the loop variable and container. 1 )
PARTICIPATION ACTIVITY
: Creating for loops.
Complete the for loop statement by giving the loop variable and container.
Iterate over the given list using a variable called mypet.
for
in Scooter 'Kobe', 'Bella':
# Loop body statements
Check
Show answer
Iterate over the list myprices using a variable called price.
for
:
# Loop body statements
Check
Show answer
Iterate the string using a variable called number.
for
:
# Loop body statements
Check
Show answer
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
