Python

Need Help in Python Assignment?
We can help you if you are having difficulty with your Python Assignment. Just email your Java Assignment at admin@assignmentcache.com.
We provide help for students all over the world in Python Assignment.

Items 1 to 10 of 39 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4

Grid  List 

Set Descending Direction
  1. CYB130 2.14.1 LAB Formatted output Hello World

    CYB/130 Week 1 Python LAB 2.14: Formatted output: Hello World!

    Regular Price: $5.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.14: Formatted output: Hello World!
    Write a program that outputs "Hello World!" For ALL labs, end with newline (unless otherwise stated).

    Learn More
  2. CYB130 Week 5 CHALLENGE ACTIVITY 6.22.1 Report country population

    CYB/130 Week 5 CHALLENGE ACTIVITY 6.22.1: Report country population

    Regular Price: $5.00

    Special Price: $3.00

    CYB/130 Week 5 CHALLENGE ACTIVITY 6.22.1: Report country population


    Write a loop that prints each country's population in country_pop.


    Sample output with input:
    'China:1365830000,India:1247220000,United States:318463000,Indonesia:252164800':
    United States has 318463000 people.
    India has 1247220000 people.
    Indonesia has 252164800 people.
    China has 1365830000 people.

    Learn More
  3. CYB130 2.15.1 LAB Formatted output No parking sign

    CYB/130 Week 1 Python LAB 2.15: Formatted output: No parking sign

    Regular Price: $5.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.15: Formatted output: No parking sign
    Write a program that prints a formatted "No parking" sign as shown below. Note the first line has two leading spaces. For ALL labs, end with newline (unless otherwise stated).


      NO PARKING
    2:00 - 6:00 a.m.

    Learn More
  4. CYB130 2.16.1 LAB Input Welcome message

    CYB/130 Week 1 Python LAB 2.16: Input: Welcome message

    Regular Price: $6.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.16: Input: Welcome message
    Write a program that takes a first name as the input, and outputs a welcome message to that name.


    Ex: If the input is Pat, the output is:
    Hello Pat and welcome to CS Online!

    Learn More
  5. CYB130 2.17.1 LAB Input Mad Lib

    CYB/130 Week 1 Python LAB 2.17: Input: Mad Lib

    Regular Price: $6.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.17: Input: Mad Lib
    Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (and hopefully funny) ways.


    Complete the program to read the needed values from input, that the existing output statement(s) can use to output a short story.


    Ex: If the input is:
    Eric
    Chipotle
    12
    cars
    Then the output is:
    Eric went to Chipotle to buy 12 different types of cars

    Learn More
  6. CYB130 2.29.1 LAB Divide by x

    CYB/130 Week 1 Python LAB 2.29: Divide by x

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.29: Divide by x
    Write a program using integers user_num and x as input, and output user_num divided by x three times.


    Ex: If the input is:
    2000
    2
    Then the output is:
    1000 500 250
    Note: In Python 3, integer division discards fractions. Ex: 6 // 4 is 1 (the 0.5 is discarded).

    Learn More
  7. CYB130 2.30.1 LAB Driving costs

    CYB/130 Week 1 Python LAB 2.30: Driving costs

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.30: Driving costs
    Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 20 miles, 75 miles, and 500 miles.


    Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
    print('{:.2f} {:.2f} {:.2f}'.format(your_value1, your_value2, your_value3))


    Ex: If the input is:
    20.0
    3.1599
    Then the output is:
    3.16 11.85 79.00
    Note: Real per-mile cost would also include maintenance and depreciation.

    Learn More
  8. CYB130 2.31.1 LAB Expression for calories burned during workout

    CYB/130 Week 1 Python LAB 2.31: Expression for calories burned during workout

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.31: Expression for calories burned during workout
    The following equations estimate the calories burned when exercising (source):


    Women: Calories = ( (Age x 0.074) — (Weight x 0.05741) + (Heart Rate x 0.4472) — 20.4022 ) x Time / 4.184


    Men: Calories = ( (Age x 0.2017) + (Weight x 0.09036) + (Heart Rate x 0.6309) — 55.0969 ) x Time / 4.184


    Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output calories burned for women and men.


    Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
    print('Men: {:.2f} calories'.format(calories_man))


    Ex: If the input is:
    49
    155
    148
    60
    Then the output is:
    Women: 580.94 calories
    Men: 891.47 calories

    Learn More
  9. CYB130 2.32.1 LAB Using math functions

    CYB/130 Week 1 Python LAB 2.32: Using math functions

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 1 Python LAB 2.32: Using math functions
    Given three floating-point numbers x, y, and z, output x to the power of z, x to the power of (y to the power of z), the absolute value of (x minus y), and the square root of (x to the power of z).


    Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
    print('{:.2f} {:.2f} {:.2f} {:.2f}'.format(your_value1, your_value2, your_value3, your_value4))


    Ex: If the input is:
    5.0
    1.5
    3.2
    Then the output is:
    172.47 361.66 3.50 13.13

    Learn More
  10. CYB130 Week 2 3.11 LAB Input and formatted output Right-facing arrow

    CYB/130 Week 2 Python LAB 3.11: Input and formatted output: Right-facing arrow

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.11: Input and formatted output: Right-facing arrow
    Given input characters for an arrowhead and arrow body, print a right-facing arrow.


    Ex: If the input is:
    *
    #
    Then the output is:
          #
    ******##
    ******###
    ******##
          #

    Learn More

Items 1 to 10 of 39 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4

Grid  List 

Set Descending Direction