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

  Prepare a report on tamping

Prepare a report on tamping - What is tamping and Working Components of tamping machine.

  Demonstrate and identify your productions or supply

Demonstrate and identify your productions or supply and provide the components, the client/buyer ask you to prepare a technical report involving all technical aspects to illustrate the capabilities and usage.

  Find the required resistor values and the terminal voltage

A VBE multiplier is designed with equal resistances for nominal operation at a terminal current of 1 mA, with half the current flowing in the bias network. The initial design is based on β =∞and VBE =0.7 V at 1 mA. Find the required resistor value..

  Design a multiphase flow meter component

To research Literature review on the current Multiphase flow meters sensors in the oil and gas industry - design a multiphase flow meter component using CATIA V8, subjecting it to the loading modes in the marine environments.

  Find the total fuel flow

Find the Total Fuel Flow to maintain Max endurance speed in Level flight at FL350 - What would the % thrust and % N1 setting be at Max Endurance Speed, FL350?

  Determine the magnitude of resulting forces

Knowing that the drill exerts a 12 N m · couple on the piece of plywood, determine the magnitude of the resulting forces applied to the nails if the are located

  How can the magnifications be obtained

What would their fractographic appearances be, at 2× and 2000× magnification? How can these magnifications be obtained?

  Describe how you would make this judgment

Does the reported summary give enough information for you to judge whether the individualized dosing is, on the whole, accurate in its prediction of peak concentration? If so, describe how you would make this judgment. If not, describe what additi..

  What negative externality obtaining human food pose for bear

Aggressive bears present a threat to human safety and eventually must be destroyed or removed from the park. Please obey the law and do not allow bears or other wildlife to obtain human food. What negative externality does obtaining human food pos..

  Develop a paper design of a system

The purpose of this assignment is to develop a paper design of a system to address an important need.

  Environmental issues on usage of pesticides

Describe the function(s) of the organisation and data justifying the need for the Initiative.

  Mole fractions of the four species in the gas

What are the mole fractions of the four species in the gas? What is the average molecular weight of thegas?

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