54 635
Assignments Done
98,2%
Successfully Done
In November 2017
Your physics homework can be a real challenge, and the due date can be really close — feel free to use our assistance and get the desired result.
Be sure that math assignments completed by our experts will be error-free and done according to your instructions specified in the submitted order form.
Our experts will gladly share their knowledge and help you with programming homework. Keep up with the world’s newest programming trends.

285Questions:

211Free Answers by our Experts:

It is very hard to master any of programming language and many students have troubles with it. That is why we have decided to render assistance for those who have difficulties with Python. Python problems are very common among students. They are tired of constant Python questions and try to find the Python answers. Ask your questions here and be sure to get the 100% truthful answers. The only thing you will have to do – is to send the request with Python questions and to have no hesitation that all your Python questions will be satisfied.

Ask Your question

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program that asks the user to enter a starting number and an ending number. The program should then print all the numbers between the starting and ending number (including both of them), and the total of all the numbers it printed. You can assume that the starting number will be less than the ending number.
Sample run:
Enter the starting number: 2 Enter the ending number: 4
2
3
4
The total is 9
print ("Enter 1 to calculate the area of a circle")
print ("Enter 2 to calculate the surface area of a sphere")
print ("Enter 3 to calculate the volume of a sphere")
print ("Enter 4 to quit")
Assuming the choice is 1-3, ask the user for the radius. If the user enters a string that cannot be interpreted
as a number, display the error message: Radius needs to be a number. If the user enters a nonpositive
number, display the error message: The radius has to be positive. Once you have a
positive radius, for choice 1, calculate the area of a circle by calling a function that calculates and returns the
area. For choice 2, calculate the surface area of a sphere by calling a function that calculates and returns
the surface area. For choice 3, calculate the volume of sphere by calling a function that calculates and
returns the volume. Your program should continue to display the menu, error check, and make calculations,
until the user enters choice 4.
you will write a program that will store sentences in a list and get practice with working with lists
and strings. First, ask how many sentences the user wants to store. You can assume that you will get an
integer, but if it is non-positive, default to the value of 5. Next, get the user input (i.e. the sentences) and
store them in your list in all lower-case letters. You can assume that the user will enter sentences without
the . at the end.
Next, you will loop the same number of times as the number of sentences in your list and in each iteration
you will display the following menu:
print ("Enter 1 to see a sentence")
print ("Enter 2 to see the whole list")
print ("Enter 3 to change a sentence")
print ("Enter 4 to switch words")
print ("Enter 5 to count letters")
You can assume that the user will enter an integer. Below is what you should do depending on the choice.
you will write a program that prompts the user for two integers and one of the 4 basic
mathematical operations. The only valid choices are: add, subtract, multiply, or divide (use true division and
not integer division). The user can type the operation using any combination of upper case and lower case
letters. If the user types in an operation that is not defined, the program should simply tell the user the
operation is not a valid operation (See sample run 1). Assuming the user’s operation is defined, you will
perform the operation, print the operands, print the operation (the way the user typed it), and the result. If the
second integer input is zero and the desired operation is division, don’t print the result, instead print that
“Division by zero is not allowed” (See sample run 2). After printing the result, display a line and print out any
of the three messages below that is true:
Both operands were negative
Both operands were positive
The result has three or more digits in it
I can not figure out how to make numbers add up at the bottom! help please! I dont know what I am doing wrong!

print('Please enter customers name')
myName = input()
print ('Please enter data usage')
myData = int(input())
if myData > int(str(int(5) +10)):
print ('Please enter minutes used')
myMinutes = int(input())
if myMinutes > int():
print ('Please enter number of texts')
myTexts = int(input())
print('Please enter state tax')
myTax = int(input())
print('Your bill is' = str(int(myData) + (int(myMinutes) + int(myTexts) + int(myTax) + 'for September.'):
A game contains sound effects. Explain 2 ways that the sound files could be made smaller so that the game can be played on mobile devices.
# Given an integer n, return the number of digits of n.
def digitCount(n):
return 42


# Given an integer n, return the sum of its digits.
def digitSum(n):
return 42


# Definition: For a positive integer n, n factorial, denoted n!,
# is the product n*(n-1)*(n-2)*...*1. If n = 0, then define 0! as 1.
# Given an integer n (which you can assume is non-negative),
# return n! (n factorial).
def factorial(n):
return 42


# Definition: We say that m is a factor of n if m divides n without a remainder.
# Given an integer n (which you can assume is positive),
# return the smallest factor of n larger than 1.
# If n is 1, then you should return 1.
def smallestFactor(n):
return 42
Write a program that uses the keys(), values(), and/or items() dict methods to find statistics about the student_grades dictionary. Find the following:
Print the name and grade percentage of the student with the highest total of points
Find the average score of each assignment.
Find and apply a curve to each student's total score, such that the best student has 100% of the total points.
student_grades = {
'Andrew': [56, 79, 90, 22, 50],
'Colin': [88, 62, 68, 75, 78],
'Alan': [95, 88, 92, 85, 85],
'Mary': [76, 88, 85, 82, 90],
'Tricia': [99, 92, 95, 89, 99]
}

You are designing an algorithm that ranks website pages by relevance according to the number of times they are viewed by users. Which data structure would be the most useful and efficient for you to use?

A hash table because data would be efficiently searched and retrieved

A stack because the website pages would need to be popped and pushed systematically from the ranking list

A graph because Elizabeth needs data relating to how webpages are connected to each other and how many times they were viewed

A sorted array because all the data relating to web pages needs to be sorted in a ranking order

None of the above
Of the following statements, which ones can be said to be TRUE?


The time complexity of all single statements is constant

According to the Big O Notation, the time complexity of some statements can be said to be logarithmic

Time complexity can only be expressed by using the Big O notation

Time complexity can be expressed as a differential equation

The time complexity of an algorithm can vary over time

Quadratic time complexity can be expressed as a quadratic equation

1, 3 & 5

2 & 4

5, 2 & 6

2 & 6

2, 4 & 6