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 41 to 50 of 105 total

per page
Page:
  1. 3
  2. 4
  3. 5
  4. 6
  5. 7

Grid  List 

Set Descending Direction
  1. CYB130 3.25 LAB Smallest number

    CYB/130 Week 2 Python LAB 3.25: Smallest number

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.25: Smallest number
    Write a program whose inputs are three integers, and whose output is the smallest of the three values.


    Ex: If the input is:
    7
    15
    3
    the output is:
    3

    Learn More
  2. CYB130 3.26 LAB Seasons

    CYB/130 Week 2 Python LAB 3.26: Seasons

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.26: Seasons
    Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an int to represent the day.


    Ex: If the input is:
    April
    11
    the output is:
    Spring


    In addition, check if the string and int are valid (an actual month and day).
    Ex: If the input is:
    Blue
    65
    the output is:
    Invalid


    The dates for each season are:
    Spring: March 20 - June 20
    Summer: June 21 - September 21
    Autumn: September 22 - December 20
    Winter: December 21 - March 19

    Learn More
  3. CYB130 3.27 LAB Exact change

    CYB/130 Week 2 Python LAB 3.27: Exact change

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.27: Exact change
    Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies.


    Ex: If the input is:
    0
    (or less than 0), the output is:
    No change


    Ex: If the input is:
    45
    the output is:
    1 Quarter
    2 Dimes

    Learn More
  4. CYB130 3.28 LAB Leap year

    CYB/130 Week 2 Python LAB 3.28: Leap year

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.28: Leap year
    A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes place. A leap year is when a year has 366 days: An extra day, February 29th. The requirements for a given year to be a leap year are:
    1) The year must be divisible by 4
    2) If the year is a century year (1700, 1800, etc.), the year must be evenly divisible by 400
    Some example leap years are 1600, 1712, and 2016.
    Write a program that takes in a year and determines whether that year is a leap year.


    Ex: If the input is:
    1712
    the output is:
    1712 - leap year


    Ex: If the input is:
    1913
    the output is:
    1913 - not a leap year

    Learn More
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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

Items 41 to 50 of 105 total

per page
Page:
  1. 3
  2. 4
  3. 5
  4. 6
  5. 7

Grid  List 

Set Descending Direction