Write programs with loops that compute a. The sum of all even numbers between 2 and 100 (inclusive). b. The sum of all squares between 1 and 100 (inclusive). c. All powers of 2...

Write programs with loops that compute a. The sum of all even numbers between 2 and 100 (inclusive). b. The sum of all squares between 1 and 100 (inclusive). c. All powers of 2...

i need to program a while loop to display the integers from 0 to 200 in increments of 25, all on one line separated by a single space.Then use a for loop and the range operator to display the same...

This program should prompt the user to enter an exact multiple of 19 that is greater than 200. Then, the program should analyze the input and display a response to each of the four possible results...

Peggy listed a real estate property for a commission rate of 5.0%. Peggy’s brokerage will get half of the commission and Peggy’s share will be half of that. The property sells when reduced by 20%...

A squash game consists of rallies problem. (Question):- Notes:- P(A wins) = ra / (ra+rb), wins a point in a rally 0 < ra ≤ 100 Suppose...

need help writing this code in python please: I keep getting it incorrect. Write the definition of a class Counter containing: An instance variable named counter of type int An...

keep getting this code incorrect: Write the definition of a class ContestResult containing: An instance variable winner of type String, initialized to the empty String. An instance...

I need to find angles of a triangle and i need to use the law of sines, however i keep getting a syntax error, anyone know the code for the law of sines on python?

In python for complexity classes, If we return a tuple like (v,k+1), is that return statement a complexity class of O(N) because of tuple containment? The function...

InterfaceError: Unable to acquire Oracle environment handle

Please need a code by Python 2.x for: new or updated files need to be copied to a specific 'destination' folder

The error I am receiving suggest I am using the wrong filename or read mode. When I type the file path into my computer, it works. I tried to assign the input filename to a variable and then opening...

Assume the days of the week are numbered 0,1,2,3,4,5,6 from Sunday to Saturday. Write a function which is given the day number, and it returns the day name (a string). in python

Hi, I know the general idea behind nested functions, and how one function can call another inside it. But this example, from Python, confuses me a bit. One function totalPct, is called using a startValue...

My inputs X1 and X2 are the values from -12 and 12 including 0 (i.e:(-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12) for both X1 and X2 and my output y is the function y=(2*(X1^2))+(X2^2),...

This is what I have and it doesn't work: print("===============================================================================") print(" Publix") print("===============================================================================") price=int(...

Daniel G.

Software Engineer & Teacher for Programming and Math Tutoring

Brooklyn, NY

5.0
(103 ratings)

Ari B.

Java + Python Developer. I like math + stats.

New York, NY

4.7
(22 ratings)