Write a loop that prints your name 75 times each instance


Write a Loop Program In Python 2.7

  1. Write a loop that prints your name 75 times, Each instance should be followed by a newline. At the end, print the phrase "The loop is complete"
    • name = "Daniel"
  2. Write a print statement to produce the following outputs given the variable below

    pi = 3.14159

    1. Pi to two decimal places is 3.14.
    2. Pi with a leading 0 is 03.14159.
  3. In what scenario would a while loop go on indefinitely.

There are a few ways this could happen, however the most popular answer will be if the programmer does not update the loop control variable.

Solution Preview :

Prepared by a verified Expert
Other Engineering: Write a loop that prints your name 75 times each instance
Reference No:- TGS01421351

Now Priced at $50 (50% Discount)

Recommended (99%)

Rated (4.3/5)