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

the website, you get a 10% discount if you are a member. Additionally, you are also getting a discount of 5% on the item because its Father’s Day.

Write a function that takes as input the cost of the item that you are purchasing and a Boolean variable indicating whether you are a member (or not), applies the discounts appropriately, and returns the final discounted value of the item.

Note: The cost of the item need to be an integer


Write a program that inputs the length of two pieces of fabric in feet and inches (as whole numbers) and prints the total.


2. Suppose the university has decided to announce bonus 1 PMS point to employees those have PMS points more than 7. The appraisal will be based on PMS points. We have an array of employees with UID and PMS point . Display the list of employees those would be benefited with bonus. The bonus should be added to the employees who have UID and PMS through the concept of list comprehension.


Input Format ->The input should contain list of employees with UID and PMS point. Output Format ->For each test case, display the UID and PMS point after bonus is being added.


I HAVE ASKED THIS QUESTION EARLIER ALSO BUT IT WAS BEING SOLVED IN C++ BUT I WANT THIS SOLUTION IN PYTHON NOT IN C++


PLEASE SOLVE IT USING PYTHON NOT C++




Given a string that other than letters, numbers, and space if any characters are there

print the count of those characters.

Example

Input: aaa34@raj?where454/

Output: 3


An e-commerce application wants to give discounts to its customers. The discount is

calculated as the product of the sum of even numbers and the sum of odd numbers

present in the bill. Print the discount that a customer can get.

a. Input: 2345, Output: 48

Explanation: even_sum = 2+4 = 6.

Odd_sum = 3+5 = 8.

Product = 6*8 = 48.


Reverse a string and calculate unchanged positions to the original string?


To find the lucky number.

Input - 8, Output - 21

Write an algorithm to make a list like 1,1,2,3,5,8,13,21 so when input 8 is entered it

should give output 21


Write a program to print maximum and minimum prime numbers in a given range?


Input two strings in one line, separated by a space.


Concatenate the two strings and print out the result.

Write a program to count the characters that are not words, integers, spaces


LATEST TUTORIALS
APPROVED BY CLIENTS