In this Python list program, we will take a user input as a list and calculate marks percentage from a given mark list, the max mark for each item is 100 with the help of the below-given steps.
Calculate marks percentage:
Steps to solve the program
- Take a list containing marks as input.
- Calculate the percentage based on the marks in the list using general formula.
- Print the output.
Output :
Related Articles
Python program to get the list of all palindrome strings from the given list.
Python program to flatten a given nested list structure.
Python program to convert tuples in the list into a sublist.
Python program to create a dictionary from a sublist in a given list.
Python program to replace ‘Java’ with ‘Python’ from the given list.
Python program to convert the 3rd character of each word to a capital case from the given list.