Python Answers

Questions answered by Experts: 5 288

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

Write a Python main function that reads in an integer. Then output (on a line by itself) # is Curzon or # is not Curzon. Have the majority complete just can not figure out what to set the if number= to to get it to print out


Consider the data X = (58,59,63,60,60,63,60,57,58,59). An unbiased estimation for population variance would be


A normal distribution which has a mean of 50 and standard deviation of 7 is takeninto consideration. 68% of the distribution can be found between what two numbers? a. 40 and 60 b. 0 and 43 c. 0 and 68 d. 43 and 57


Suppose you are taking a multiple-choice test with 4 choices for each question. In answering a question on this test, the probability that you know the answer is 0.33. If you don’t know the answer, you choose one at random. What is the probability that you knew the answer to a question, given that you answered it correctly


There are 13 men and 12 women in a ballroom dancing class. If 6 men and 6 women are chosen and paired off, how many pairings are possible


There are 3 arrangements of the word DAD, namely DAD, ADD, and DDA. How many arrangements are there of the word ENDURINGLY? 


you cannot use built-in functions or NumPy or Pandas!

1. Write a function which finds all Pythagorean triplets of triangles whose sides are no greater than a natural number N.

2. Given a list of integers, write a function that finds the smallest and the largest value of this list. Given a list of numbers, write a function which finds their standard deviation


We have two lists. L1 = ['Coffee', 'Tea'] L2 = ['Hot', 'Ice']. Using a nested while loop compute the following output: Coffee * Hot * Ice Tea * Hot * Ice


a) Write a program which allows a student to enter a string and test for whether string is a palindrome or not. If string is a palindrome replace all characters with random numbers between 1 and 100 and displays the output, else prompt student re-enter string.



b) Write a program which allows a company secretary to write employee details in file called EmployeeHours.txt and retrieves the information using pointers to display it on the screen.

a) Write a program using functions to imitate a university canteen ticketing system. A student is required to enter their registration number and pin to access the food menu and make payments. Also a student is allowed to enter only two times a wrong pin before account is blocked.



b) Demonstrate using functions to calculate the area and perimeter as right angled triangle. Given that the perimeter of a triangle is the sum of all three sides and the hypotenuse of a triangle is obtained by sqtr((len * len)+(height * height)) where sqtr() is in a built-in function.

LATEST TUTORIALS
APPROVED BY CLIENTS