<reponame>mandardkar/dsmp-pre-work<filename>Mandar-Project-1-Greyatom/code.py
# --------------
# Code starts here
# Create the lists 
class_1 = ['<NAME>','<NAME>','<NAME>','<NAME>' ]
class_2 = ['<NAME>','<NAME>','<NAME>']

# Concatenate both the strings
new_class = (class_1 + class_2)
print (new_class)


# Append the list
new_class.append('<NAME>')

# Print updated list
print(new_class)


# Remove the element from the list
new_class.remove('<NAME>')

# Print the list
print(new_class)
# Code ends here


# --------------
# Code starts here
courses = {'Math':65,'English':70,'History':80,'French':70,'Science':60}
total = courses.get('Math') + courses.get('English') + courses.get('History') + courses.get('French') + courses.get('Science')
print(total)
percentage = total*100/500
print(percentage)



# Code ends here


# --------------
# Code starts here
mathematics = {'<NAME>':78, '<NAME>':95,'<NAME>':65,'<NAME>':50,'<NAME>':70,'<NAME>':66,'<NAME>':75}
topper = max(mathematics,key=mathematics.get)
print(topper)

# Code ends here  


# --------------
# Given string
topper = '<NAME>'


# Code starts here
first_name = topper.split()[0]
last_name = topper.split()[1]
full_name = last_name + ' ' + first_name
certificate_name = full_name.upper()
print(certificate_name)

# Code ends here


