Write a loop program in python

Assignment Help Other Engineering
Reference no: EM131075376

Write a Loop Program In Python

  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 = "Kevin"
  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.

Reference no: EM131075376

Questions Cloud

Display a matrix a and an echelon form of a : Display a matrix A and an echelon form of A.
Describe how it is currently being treated in our country : Statistics regarding it's occurrence, both Worldwide and in the U.S.A. Describe the symptoms associated with this Disorder. Describe how it is currently being treated in our country.
Electric field strength inside wire : A copper wire is 2.0mm in diameter and carries a current of 20 A. What is the electric field strength inside this wire?
Magnitude and direction of the magnetic force on the wire : A wire of length 0.25 m is conducting a current of I = 9.5 A in the x direction through a B = 2.0-T uniform magnetic field that is directed parallel to the wire in the -x direction. What are the magnitude and direction of the magnetic force on the..
Write a loop program in python : 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"
Give differential diagnoses for jo and riley with rationale : Discussion Questions Part One: Provide differential diagnoses for Jo and Riley with rationale? Further ROS questions needed to develop the differential diagnosis.
Find the strength of the resulting magnetic : A 31.3-A current flows in a long straight wire. Find the strength of the resulting magnetic field at a distance of 45.3 cm from the wire.
What acts of aggression did jesus endure : Describe 5 different social situations that Jesus was in, and how He impacted each situation? Observe an intergroup relationships, and describe took place between the two groups.
Find the emf induced : Find the emf induced, the efficiency and the output power of the machine if the stray losses total to 30KW; and the armature resistance is 2W and reactance 20W per phase.

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd