Listen Task/Purpose: Use a loop to build a message by repeating 3 times. Instructions: ⚫ Scroll down below the #S11icq Q5 comment to enter the code for this task. ⚫ Create the variable se and assign the value in index position 0 of list fm • Create the variable sf and assign the value in index position 1 of list fish • Create the variable sg by assigning the value created by concatenating se and sf • Build a for loop using for loop variable sm that repeats three times ⚫ The indented code block inside the loop should append dd to the variable sg • Add afterparty code to print sg to the shell • Add afterparty code to calculate the hash of sg and assign it to the variable sg_h • Add afterparty code to calculate the count of characters in sg and assign it to the variable sg_c ⚫ Click on the Run Current Script function (use menu at top of Thonny). Match the following: 1. 237233811 2. 18500967 value of sg_h 3. 35 value of sg_c 4. 38 value of sg 5. babybass, doo-doo, doo-doo, doo- doo 6. Baby Bass, Doo-Doo, Doo-Doo, Doo-Doo

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question

I need help on what to enter into python so that i can code this the right way

Listen
Task/Purpose: Use a loop to build a message by repeating 3 times.
Instructions:
⚫ Scroll down below the #S11icq Q5 comment to enter the code for this task.
⚫ Create the variable se and assign the value in index position 0 of list fm
• Create the variable sf and assign the value in index position 1 of list fish
•
Create the variable sg by assigning the value created by concatenating se and
sf
• Build a for loop using for loop variable sm that repeats three times
⚫ The indented code block inside the loop should append dd to the variable sg
• Add afterparty code to print sg to the shell
• Add afterparty code to calculate the hash of sg and assign it to the
variable sg_h
• Add afterparty code to calculate the count of characters in sg and assign it to
the variable sg_c
⚫ Click on the Run Current Script function (use menu at top of Thonny).
Match the following:
1. 237233811
2. 18500967
value of sg_h
3. 35
value of sg_c
4. 38
value of sg
5.
babybass, doo-doo, doo-doo, doo-
doo
6.
Baby Bass, Doo-Doo, Doo-Doo,
Doo-Doo
Transcribed Image Text:Listen Task/Purpose: Use a loop to build a message by repeating 3 times. Instructions: ⚫ Scroll down below the #S11icq Q5 comment to enter the code for this task. ⚫ Create the variable se and assign the value in index position 0 of list fm • Create the variable sf and assign the value in index position 1 of list fish • Create the variable sg by assigning the value created by concatenating se and sf • Build a for loop using for loop variable sm that repeats three times ⚫ The indented code block inside the loop should append dd to the variable sg • Add afterparty code to print sg to the shell • Add afterparty code to calculate the hash of sg and assign it to the variable sg_h • Add afterparty code to calculate the count of characters in sg and assign it to the variable sg_c ⚫ Click on the Run Current Script function (use menu at top of Thonny). Match the following: 1. 237233811 2. 18500967 value of sg_h 3. 35 value of sg_c 4. 38 value of sg 5. babybass, doo-doo, doo-doo, doo- doo 6. Baby Bass, Doo-Doo, Doo-Doo, Doo-Doo
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,