Write a program that reads some integers between 1 to 100 and counts the occurance of each.
: Create a python function that will accept 7 numbers with decimal values and wont accept value if it isn't a float value. After accepting the values, determine the number with the highest values among the given, and then return that value for printing.
Number 2 present at index locatios 0,6,9, as the last occurrence, is at index 9. So the output should be 9.
Input: 2 4 5 6 7 8 2 4 5 2 3 8
9
Write a program to read a list of number from the user and remove the two largest and two smallest values from it. Display the list with removed values , followed by the original list. Your program should generate an appropriate message if the user enters less than 5 values.
Given an integer N as input.
Write a program a number diamond of 2*N -1 rows.
No of rows in diamond 5.
The output will be :::
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
Write a program to find the minimum no of notes required for the amount M.
Available note denominations are 500:50:10:1
The output should be 500: 3 50: 0 10: 4 1:3
The first integer is a single integer M.
write a function with the name calculate_league_points then takes the number of wins, draws, and losses and calculates the number of points a football team has obtained so far - Each win is equal to 4 points - Each win is equal to 2 points - Each win is equal to -1 points
# Accept string input.
# Display if the string is Palindrome or Not a Palindrome
# Accept string input.
# Count vowel and consonant characters in the string.
# Display the string in reverse order.
# Accept string input.
# Display each charter of the string (vertical order)
# Count and display total i charter in the string.