Given a string, find the count of elements that are not vowels.
a python program to Count of negative elements in the list (-7-9 3 4 5 -6 -8 2)
Write a program to reverse an integer
A python program to print Sum of all prime and non prime numbers in a given range
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.(NA)
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
SOLVE IT USING PYTHON
The manager of the company has informed his assistant to enter the
age of all the workers working in production department. Among all
he has to find the employee with minimum age employee. Help the
manager to find the minimum age employee by storing the all age of
all employees in 1D array. Use functions to solve this task.
Input Format
30 43 27 51 19
Constraints
All the inputs should be greater than 0 otherwise print wrong input
Output Format
19
SOLVE IT USING PYTHON
your given two integers. a and b print the smallest among a%b and b%a
Write a python program to calculate the fare and discount for the passengers travelling in a bus. When a Passenger enters the bus, the program, will determine the traveling kilometer knowing distance from passenger (as an approximate integer) the conductor mentions the fare to the passenger according to following criteria below using control structure in python code.The program will also calculate the passenger 20% discount for students ,PWD and senior citizen passenger.
5KM- 25.00
5-10KM – 30.00
10-30KM – 50.00
30-50KM -100.00
50-80KM – 150.00
80-100KM – 250.00