Analyze the condition that can lead to satellite path diversity
Write a program that will get the average of all integers from 1 to 20 using do-while loop.
Discuss the elements or components of a computer system that an operating system manages.
Discuss the three input-output communication techniques that are used in computer systems.
Lowest and highest score. The teacher gave out the scores of the science quiz conducted last week and asked the ones with the lowest and highest scores to group up. Print the names of the students with minimum and maximum scores, respectively.
Note: In case of a tie, choose the name which comes first in the (dictionary order).
Input : 2
shakti 24
disha 26
output: shakti disha
input: 3
ajay 23
bijay 24
sanjay 23
output: ajay bijay
On Sunday, Sunil went to the D-Mart with his family. All the family members of Sunil buy many items as per their need. At the payment counter Sunil paid 5000 Rs. After payment Sunil came home and now, he wants to analyse the top three item he bought from the D-Mart. You need to write a python function Top_Price(A)which takes a dictionary containing all items with their prices and return a string containing top-3 item names and their prices as shown in the example
Example-1
Example-2
Input:
{'item1': 45.50, 'item2':35, 'item3': 41.30, 'item4':55, 'item5': 24}
Output:
item4-55
item1-45.5
item3-41.3
Input:
{'item1': 105.50, 'item2':325, 'item3': 411.30, 'item4':5.4, 'item5': 24.7}
Output:
Item3-411.30
Item2-325
Item1-105.50
write a python function Top_Price(A) (Refer RollNo_W9A_2.py ) which takes a dictionary containing all items with their prices and return a string containing top-3 item names and their prices
Write a Python class named Product which has attributes product_id, product_name,
number of items. Include the constructor and other required methods to set and get the
class attributes. The class should have 2 additional methods to add and remove products from the inventory. If the number of items for a product in the inventory is less than zero, the user should be notified with a print message stating, “Product is out of stock”. Create 2 instances of the class and display all its associated attributes.
I want very simple code
Bhanu and Soham are good friends. Yesterday they have given an exam in which there were given two different set of questions to solve. Bhanu was given set A and Soham was given set B. After examination they want to cross check their answers. For this they need to identify common questions in their sets. Write a python function Check_Common(A, B) which takes two sets A and B as a input and return true if any common question found otherwise return false.
Example-1
Example-2
Input:
{1, 2, 3, 4}
{4, 5, 6, 7}
Output:
True
Input:
{1, 2, 3, 4}
{5, 6, 7, 8}
Output:
False
How do you think organizational structure and business strategy impact information system development and management? Explain your answer