ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 25 Apr 2017 My Price 7.00

Print a string variable that states the number of loops

Week 6 Assignment: Variables, IF/THEN/ELSE, Loops 

Instructions:

You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this site: https://www.python.org/downloads/.

You will code the following and submit it in one file. Use the information in the Lessons area for this week to assist you. Save it as a python file (.py), and upload it into the Assignments area for the Week 4 Assignment.

1.   Create a comment block with the following information:

Your Name

Course Name, Section (example: ENTD200 B002 Spr15)

Instructor name

Week # 

Date completed

2.   Problem 1: Write a program that will calculate the problem and stop after the condition has been met. 

 

a=number of loops (start with zero but will increase by 1 after each completed loop)

b=a+1

c=a+b

 

Condition: If c is less than 5, then the loop will continue; else, it will end.

3.   Print a string variable that states the number of loops required to meet the condition for Problem 1.

Answers

(11)
Status NEW Posted 25 Apr 2017 02:04 AM My Price 7.00

-----------

Not Rated(0)