# 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.

7 Item(s)

per page

Grid  List

1. ## ITS320 Module 4 Option 2 Repetition Control Structure – Grade Statistics

Regular Price: \$10.00

Special Price: \$8.00

ITS320 Module 4 Option 2 Repetition Control Structure – Grade Statistics

Option #2: Repetition Control Structure – Grade Statistics

Assignment Instructions
1. Write a program that will provide important statistics for the grades in a class. The program will utilize a loop to read five floating-point grades from user input.
2. Ask the user to enter the values, then print the following data:
• Average
• Maximum
• Minimum

Assignment Submission Instructions
• Submit a text file containing your Python code into the Module 4 drop box. Name your file ITS320_CTA4_Option2.py

Learn More
2. ## ITS320 Module 4 Option 1 Repetition Control Structure – Five Floating Point Numbers

Regular Price: \$10.00

Special Price: \$8.00

ITS320 Module 4 Option 1 Repetition Control Structure – Five Floating Point Numbers

Option #1: Repetition Control Structure – Five Floating Point Numbers

Assignment Instructions
Write a program that utilizes a loop to read a set of five floating-point values from user input. Ask the user to enter the values, then print the following data:
• Total
• Average
• Maximum
• Minimum
• Interest at 20% for each original value entered by the user.
• Use the formula: Interest_Value = Original_value + Original_value*0.2

Assignment Submission Instructions
• Submit a text file containing your Python code into the Module 4 drop box. Name your file ITS320_CTA4_Option1.py.

Learn More
3. ## ITS320 Module 3 Option 1 Creating a Program to Calculate the Value of a Ferrari

Regular Price: \$10.00

Special Price: \$8.00

ITS320 Module 3 Option 1 Creating a Program to Calculate the Value of a Ferrari

Option #1: Creating a Program to Calculate the Value of a Ferrari

Assignment Instructions
Implement a program that reads in a year and outputs the approximate value of a Ferrari 250 GTO in that year. Use the following table that describes the estimated value of a GTO at different times since 1962.
Year  Value
1962-1964  \$18,500
1965-1968 \$6,000
1969-1971 \$12,000
1972-1975 \$48,000
1976-1980 \$200,000
1981-1985 \$650,000
1986-2012 \$35,000,000
2013-2014 \$52,000,000
(Source: Programming in Python 3 with Zylabs, Chapter 4, Participation Activity 4.3.5)

Assignment Submission Instructions
Submit a text file containing your Python code into the Module 3 drop box. Name your file ITS320_CTA3_Option1.py.

Learn More
4. ## ITS320 Module 2 Option 2 Creating a Python Application using dictionary

Regular Price: \$10.00

Special Price: \$8.00

ITS320 Module 2 Option 2 Creating a Python Application using dictionary

Option #2: Creating a Python Application

Assignment Instructions
Develop a Python application that incorporates using appropriate data types and provides program output in a logical manner. Your program should prompt a user to enter a car brand, model, year, starting odometer reading, an ending odometer reading, and the estimated miles per gallon consumed by the vehicle. Store your data in a dictionary and print out the contents of the dictionary.

Assignment Submission Instructions:
Submit a text file containing your Python code into the Module 2 drop box. Name your file ITS320_CTA2_Option2.py.

Learn More
5. ## ITS320 Module 2 Option 1 Creating a Python Application for string validation

Regular Price: \$10.00

Special Price: \$8.00

ITS320 Module 2 Option 1 Creating a Python Application for string validation

Option #1: Creating a Python Application
Python has built-in string validation methods for basic data. It can check if a string is composed of alphabetical characters, alphanumeric characters, digits, etc.
str.isalnum() This method checks if all the characters of a string are alphanumeric (a-z, A-Z and 0-9).
>>> print 'ab123'.isalnum()
True
>>> print 'ab123#'.isalnum()
False
str.isalpha() This method checks if all the characters of a string are alphabetical (a-z and A-Z).
>>> print 'abcD'.isalpha()
True
>>> print 'abcd1'.isalpha()
False
str.isdigit() This method checks if all the characters of a string are digits (0-9).
>>> print '1234'.isdigit()
True
>>> print '123edsd'.isdigit()
False
str.islower() This method checks if all the characters of a string are lowercase characters (a-z).
>>> print 'abcd123#'.islower()
True
>>> print 'Abcd123#'.islower()
FalseSAMPLE
str.isupper() This method checks if all the characters of a string are uppercase characters (A-Z).
>>> print 'ABCD123#'.isupper()
True
>>> print 'Abcd123#'.isupper()
False

Assignment Instructions:
Write a Python program that performs the following tasks:
1. Read from the console an arbitrary string S of length less than 50 characters.
2. In the first output line, print True if S has any alphanumeric characters. Otherwise, print False.
3. In the second line, print True if S has any alphabetical characters. Otherwise, print False.
4. In the third line, print True if S has any digits. Otherwise, print False.
5. In the fourth line, print True if S has any lowercase characters. Otherwise, print False.
6. In the fifth line, print True if S has any uppercase characters. Otherwise, print False.
7. Develop Python code that implements the program requirements.

Assignment Deliverables:
• Submit a text file containing your Python code into the Module 2 drop box. Name your file ITS320_CTA2_Option1.py

Learn More
6. ## ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines

Regular Price: \$10.00

Special Price: \$8.00

ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines

Option #2: Create a Python Application
Read two integers and print two lines. The first line should contain integer division, //, the second line should contain float division, /, and the third line should contain modulo division, %. You do not need to perform any rounding or formatting operations.
Input Format The first line contains the first integer. The second line contains the second integer.
Output Format Print the three lines as described above.

Sample Input
4
3

Sample Output
1
1.3333333333333333
1

Assignment Instructions
1. Install Python3 on your computer if you don’t have it already installed. Make sure you check the box to include the Python executable in your environment path.
2. Edit your Python program using your choice of editor such as Notepad, Notepad++, or Idle. Idle is a simple Python interactive development environment that installed with your Python package.
3. Save your Python code in a file name ITS320_CTA1_Option2.py.
4. Execute your Python code in command prompt as python ITS320_CTA1_Option2.

Assignment Deliverables
Submit the text file named ITS320_CTA1_Option2.py that contains your Python code into the Module 1 drop box.

Learn More
7. ## ITS320 Module 1 Option 1 Create a Python Application that outputs mouse

Regular Price: \$10.00

Special Price: \$8.00

ITS320 Module 1 Option 1 Create a Python Application that outputs mouse

Option #1: Create a Python Application
Write a Python Program that outputs this mouse:
(\-.
/ _`>
_)     / _)=
(       / _/
`-.__(___)_

Assignment Instructions
1. Install Python3 on your computer if you do not have it already installed it. You can download it from https://www.python.org/downloads/release/python-362/.
2. Make sure you check the box to include the Python executable in your environment path.
3. Edit your Python program using your choice of editor such as Notepad, Notepad++, or Idle. Idle is a simple Python interactive development environment that installed with your Python package.
4. Save your Python code using the file name ITS320_CTA1_Option1.py.
5. Execute your Python code in command prompt as python ITS320_CTA1_Option1.

Assignment Deliverables
• Submit the text file named ITS320_CTA1_Option1.py that contains your Python code into the Module 1 drop box

Learn More

7 Item(s)

per page

Grid  List