Question: Drag the code blocks into the area below to create a function called counter. The function should: Display the message Hellc Watch me count! The
Drag the code blocks into the area below to create a
function called counter. The function should:
Display the message Hellc Watch me count!
The blank will be filled with a function argument
Run a for loop to display numbers each on its own line
After closing the function, call the function with the argument
Tobias
Click the button below to submit.
Drag from here
for i in
function counter
exit
echo "Hello $ Watch me count!"
done
echo $
counter Tobias
do
echo $i
echo "Hello Tobias! Watch me count!"
function counter
for i in
Construct your solution here
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
