Questions: 5 831

Answers by our Experts: 5 728

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

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.

That's Odd

by CodeChum Admin

Well, that's odd, or is it? It's your job to find out!


Instructions:

  1. Input one integer.
  2. Print out the integer in one line.
  3. Check whether the integer is odd or not. If it is odd, print "Odd".

Instructions

  1. Input one integer.
  2. Print out the integer in one line.
  3. Check whether the integer is odd or not. If it is odd, print "Odd".

Input

A line containing an integer

5

Output

The first line contains the inputted integer.

The second line contains a string which is the result.

5
Odd




5. Even Out

by CodeChum Admin

You know, I was lying when I said the last time that numbers associated with 3 are my favorite, because the one I actually like the most in the world are even numbers! But to make things harder for you, you have to pick the even numbers from a range of two given numbers. Ha!

Now, let's try this one more time! 


Instructions:

  1. Input two integers in one line, separated by a space. The first integer shall represent the starting point, and the other, the ending point.
  2. Print out all even numbers that are within the range of the starting and ending point (inclusive or including the ending point).

Input

A line containing two integers separated by a space.

5·10

Output

A line containing integers separated by a space.

6·8·10







Let's play a game of FizzBuzz! It works just like the popular childhood game "PopCorn", but with rules of math applied since math is fun, right?


Just print out "Fizz" when the given number is divisible by 3, "Buzz" when it's divisible by 5, and "FizzBuzz" when it's divisible by both 3 and 5!


Let the game begin!




run at pycharm community

PYTHON CREATING CLASS AND ATTRIBUTE :







1. Create a Class and initialize attribute of the following:




Class name: Student




Attribute: First Name




Last Name




Sex




Age







2. From the created class, create 5 objects, and display it using pretty table.

Write a program that calculates and prints

the take-home pay for a commissioned sales

employee. Allow the user to enter values for the

name of the employee and the sales amount


LATEST TUTORIALS
APPROVED BY CLIENTS