write loop python 27

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.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.