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 31 to 40 of 105 total

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

Grid  List 

Set Descending Direction
  1. CYB130 6.8.1 LAB Acronyms

    CYB/130 Week 5 Python LAB 6.8: Acronyms

    Regular Price: $8.00

    Special Price: $5.00

    CYB/130 Week 5 Python LAB 6.8: Acronyms
    An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is an acronym of the input. If a word begins with a lower case letter, don't include that letter in the acronym. Assume there will be at least one upper case letter in the input.


    Ex: If the input is:
    Institute of Electrical and Electronics Engineers
    the output is:
    IEEE

    Learn More
  2. CYB130 6.24.1 LAB Varied amount of input data

    CYB/130 Week 5 Python LAB 6.24: Varied amount of input data

    Regular Price: $8.00

    Special Price: $5.00

    CYB/130 Week 5 Python LAB 6.24: Varied amount of input data
    Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average and max.


    Ex: If the input is:
    15 20 0 5
    the output is:
    10 20

    Learn More
  3. CYB130 6.25.1 LAB Filter and sort a list

    CYB/130 Week 5 Python LAB 6.25: Filter and sort a list

    Regular Price: $8.00

    Special Price: $5.00

    CYB/130 Week 5 Python LAB 6.25: Filter and sort a list
    Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest).


    Ex: If the input is:
    10 -7 4 39 -6 12 2
    the output is:
    2 4 10 12 39
    For coding simplicity, follow every output value by a space. Do not end with newline.

    Learn More
  4. CYB130 6.26.1 LAB Elements in a range

    CYB/130 Week 5 Python LAB 6.26: Elements in a range

    Regular Price: $8.00

    Special Price: $5.00

    CYB/130 Week 5 Python LAB 6.26: Elements in a range
    Write a program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. Your program should output all integers from the list that are within that range (inclusive of the bounds).


    Ex: If the input is:
    25 51 0 200 33
    0 50
    the output is:
    25 0 33
    The bounds are 0-50, so 51 and 200 are out of range and thus not output.


    For coding simplicity, follow each output integer by a space, even the last one. Do not end with newline.

    Learn More
  5. CYB130 6.27 LAB Word frequencies

    CYB/130 Week 5 Python LAB 6.27: Word frequencies

    Regular Price: $8.00

    Special Price: $5.00

    CYB/130 Week 5 Python LAB 6.27: Word frequencies
    Write a program that reads a list of words. Then, the program outputs those words and their frequencies.


    Ex: If the input is:
    hey hi Mark hi mark
    the output is:
    hey 1
    hi 2
    Mark 1
    hi 2
    mark 1

    Learn More
  6. CYB130 6.28 LAB Replacement words

    CYB/130 Week 5 Python LAB 6.28: Replacement words

    Regular Price: $8.00

    Special Price: $5.00

    CYB/130 Week 5 Python LAB 6.28: Replacement words
    Write a program that replaces words in a sentence. The input begins with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original list is replaced.


    Ex: If the input is:
    automobile car   manufacturer maker   children kids
    The automobile manufacturer recommends car seats for children if the automobile doesn't already have one.
    the output is:
    The car maker recommends car seats for kids if the car doesn't already have one.
    You can assume the original words are unique.

    Learn More
  7. 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
  8. CYB130 3.12 LAB Phone number breakdown

    CYB/130 Week 2 Python LAB 3.12: Phone number breakdown

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.12: Phone number breakdown
    Given an integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212.


    Ex: If the input is:
    8005551212
    the output is:
    (800) 555-1212


    Hint: Use % to get the desired rightmost digits. Ex: The rightmost 2 digits of 572 is gotten by 572 % 100, which is 72.
    Hint: Use // to shift right by the desired amount. Ex: Shifting 572 right by 2 digits is done by 572 // 100, which yields 5. (Recall integer division discards the fraction).


    For simplicity, assume any part starts with a non-zero digit. So 0119998888 is not allowed.

    Learn More
  9. CYB130 3.13 LAB Input and formatted output House real estate summary

    CYB/130 Week 2 Python LAB 3.13: Input and formatted output: House real estate summary

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.13: Input and formatted output: House real estate summary
    Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two inputs, current price and last month's price (both integers). Then, output a summary listing the price, the change since last month, and the estimated monthly mortgage computed as (current_price * 0.051) / 12.


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


    Ex: If the input is:
    200000
    210000
    the output is:
    This house is $200000. The change is $-10000 since last month.
    The estimated monthly mortgage is $850.00.


    Note: Getting the precise spacing, punctuation, and newlines exactly right is a key point of this assignment. Such precision is an important part of programming.

    Learn More
  10. CYB130 3.14 LAB Simple statistics

    CYB/130 Week 2 Python LAB 3.14: Simple statistics

    Regular Price: $8.00

    Special Price: $3.00

    CYB/130 Week 2 Python LAB 3.14: Simple statistics
    Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as integers (rounded), then as floating-point numbers.


    Output each rounded integer using the following:
    print('{:.0f}'.format(your_value))


    Output each floating-point value with three digits after the decimal point, which can be achieved as follows:
    print('{:.3f}'.format(your_value))


    Ex: If the input is:
    8.3
    10.4
    5.0
    4.8
    the output is:
    2072 7
    2071.680 7.125

    Learn More

Items 31 to 40 of 105 total

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

Grid  List 

Set Descending Direction