Question: Confused on what these python terms mean Q2-1b: What is the output of the following code? for char in Hello: print(char) An error message will

Confused on what these python terms mean
Q2-1b: What is the output of the following code? for char in "Hello": print(char) An error message will be displayed H e 2 2 O Hello OHello Question 3 (1 point) Q2-1b: What is the output of the following code? myName = "PurduePete" for char in myName[4:7]: print(char, end='-') u-e-P- u e d-u-e- An error message will be displayed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
