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

create a script to solve the volume of a sphere 

output the volume of the sphere.


Create a program that can record the name, gender, and grades of a student in a certain subject. The grades consist of 1st, 2nd, 3rd, and 4th quarters. 


The program should be able to do the following:

  • Add new student
  • Set student grades
  • Show all students w/ grades
  • Show student grade remarks (PASS or FAILED), passing mark is >= 75
  • Search student record

The program should use the following features:

  • Array
  • Class
  • Specific Sorting Algorithm (Bubble, Selection, Insertion, Merge, Shell)
  • Specific Searching Algorithm (Linear, Binary, Fibonacci, Jump)

Write a program that reads a string and returns a table of the letters of the alphabet in alphabetical order which occur in the string together with the number of times each letter


occurs. Case should be ignored. A sample output of the program when the user enters the data“ThiS is String with Upper and lower case Letters”, would look this this:



a 2





c 1





d 1





e 5





g 1





h 2





i 4





l 2





n 2





o 1





p 2





r 4





s 5





t 5





u 1





w 2



I WANT VERY SIMPLE CODE

Write a function in this file called nine_lines that uses the function three_lines to print a total of nine lines


Assume that a grocery shop is introducing shopping through mobile. The shop keeper will gets the list of items from the customer through whatsApp. After receiving the list he will prepare the bill for the customer based on the availability of the items. That is, the shopkeeper will check whether the item is available or not by checking the stock in the shop, if the item is available he will add that item to the bill otherwise he will add that item to another list called not-available list. Finally the shopkeeper will send the bill and the not available list to the customer for confirmation. Write a python code to simulate mobile shopping for a grocery shop to generate bill and not available list. Hint : Create the stock list that contains item, unit price and available quantity. 


Assume that a grocery shop is introducing shopping through mobile. The shop keeper will gets the list of items from the customer through whatsApp. After receiving the list he will prepare the bill for the customer based on the availability of the items. That is, the shopkeeper will check whether the item is available or not by checking the stock in the shop, if the item is available he will add that item to the bill otherwise he will add that item to another list called not-available list. Finally the shopkeeper will send the bill and the not available list to the customer for confirmation. Write a python code to simulate mobile shopping for a grocery shop to generate bill and not available list. Hint : Create the stock list that contains item, unit price and available quantity. 


Write input, display,

and calculation methods. Your final output should

display all calculated values, including the total

deductions and all defined constants


Write input, display,

and calculation methods. Your final output should

display all calculated values, including the total

deductions and all defined constants.


please give a proper explanation. and in that python code what is the HTML_output_name file. also the source list is also not initialized.



Find latitude and longitude of first 20 countries with a population greater than or equal to the population limit given below. Use the country details from this dataset ( https://cdn.jsdelivr.net/gh/apilayer/restcountries@3dc0fb110cd97bce9ddf27b3e8e1f7fbe115dc3c/src/main/resources/countriesV2.json ).

Your task is to find the sum of the length of all lines (in kms) that can be drawn between co-ordinates of these countries.

  • Assume radius of earth: 6371 km
  • Round length of each line and final result to 2 decimal points
  • If co-ordinates are missing for any country use 0.000 N 0.000 E

Population limit: 11750

Note: Population limit will change at random intervals. So please make sure answer is computed for the correct population limit before submitting

Find latitude and longitude of first 20 countries with a population greater than or equal to the population limit given below. Use the country details from this dataset.

Your task is to find the sum of the length of all lines (in kms) that can be drawn between co-ordinates of these countries.

  • Assume radius of earth: 6371 km
  • Round length of each line and final result to 2 decimal points
  • If co-ordinates are missing for any country use 0.000 N 0.000 E

Population limit: 11750

Note: Population limit will change at random intervals. So please make sure answer is computed for the correct population limit before submitting.

LATEST TUTORIALS
APPROVED BY CLIENTS