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

  Satellite of mass m describes a circular orbit

A satellite of mass m describes a circular orbit of radius r about the earth. Express as a function of r

  Make a program that will determine the number of terms

write a program that will determine the number of terms in the series that are needed to approximate the function to a specified accuracy. Prompt the user to enter values for x and for an epsilon, where epsilon is the accuracy desired. Use a funct..

  Digital signal processing

1. Explain in brief the design stages for digital IIR filters. Design a low pass IIR filter to meet the following specification.

  Determine the resulting clamping force at a

If a force of F = 350 N is applied to the handle of the toggle clamp, determine the resulting clamping force atA.

  Describe any challenges encountered during the project

The final project packet will be due on the day of the final exam. The final project presentation will be held, however, on May 7th. The presentation must be 7-10 minutes and must include what design your group worked on. Introduce your part and..

  How many channels can be used to send data

An E1 is the European version of our T1. An E1 frame has 32 channels. The first channel is channel 0. All 8 bits of channel 0 are used for framing. Channels 1 to 15 are used for data or voice and no bit robbing is used or needed.

  Determine the maximum and minimum values

Determine the maximum and minimum values of the normal force exerted by the track on the car as the car travels from A to D. Ignore air resistance and rollingresistance.

  The completion of this assignment will entail the design of

the completion of this assignment will entail the design of the structural fire protection for a simple warehouse

  Find an expression for the power-conversion efficiency

The power loss is mostly due to the repeated charging and discharging of a capacitance C across the load. It can be shown that this switching power is given by 4fsCV2 DD. Find an expression for the power-conversion efficiency η and evaluate the va..

  Consider an axle used to drive the wheels of a car.

Consider an axle used to drive the wheels of a car. The wheel radius is 11.25 inches, while the axle radius is 1.25 inches. What is the mechanical advantage?

  Stabilize the crane from overturning

Outriggers A and B are used to stabilize the crane from overturning when lifting large loads. If the load to be lifted is 3 Mg, determine the maximum boom angle ? so that the crane does not overturn.

  Draw the block diagram of an optimum receiver

Draw the block diagram of an optimum receiver that uses only one correlator or one matched filter. Assume that signal s1(t) is fixed. However, you can change s2(t). Modify it so that the average energy is maintained at A2T/2 but the probability of er..

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