# --------------
# Code starts here
class_1 = ['Geoffrey Hinton','Andrew Ng','Sebastian Raschka','Yoshua Bengio']
class_2 = ['Hilary Mason','Carla Gentry','Corinna Cortes']

new_class = class_1 + class_2

print(new_class)

new_class.extend(['Peter Warden'])

print(new_class)

new_class.remove('Carla Gentry')

print(new_class)


# Code ends here


# --------------
# Code starts here
courses = {'Math':65,'English':70,'History':80,'French':70,'Science':60}

total=0
for key,value in courses.items():
    total += value 

percentage = (total/500)*100

print(percentage)


# Code ends here


# --------------
# Code starts here
mathematics = {'Geoffrey Hinton':78,'Andrew Ng':95,
'Sebastian Raschka':65,'Yoshua Benjio':50,
'Hilary Mason':70,'Corinna Cortes':66,'Peter Warden':75}

topper = max(mathematics, key = mathematics.get)

print(topper)


# Code ends here  


# --------------
# Given string
topper = 'andrew ng'


# 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



9e7edf8a9b295d981ec43b898bdd2d7cb84c3287
<mask token>

<mask token>
print(new_class)
new_class.extend(['Peter Warden'])
print(new_class)
new_class.remove('Carla Gentry')
print(new_class)
<mask token>
for key, value in courses.items():
    total += value
<mask token>
print(percentage)
<mask token>
print(topper)
<mask token>
print(certificate_name)

class_1 = ['Geoffrey Hinton', 'Andrew Ng', 'Sebastian Raschka', 'Yoshua Bengio'
    ]
class_2 = ['Hilary Mason', 'Carla Gentry', 'Corinna Cortes']
new_class = class_1 + class_2
print(new_class)
new_class.extend(['Peter Warden'])
print(new_class)
new_class.remove('Carla Gentry')
print(new_class)
courses = {'Math': 65, 'English': 70, 'History': 80, 'French': 70,
    'Science': 60}
total = 0
for key, value in courses.items():
    total += value
percentage = total / 500 * 100
print(percentage)
mathematics = {'Geoffrey Hinton': 78, 'Andrew Ng': 95, 'Sebastian Raschka':
    65, 'Yoshua Benjio': 50, 'Hilary Mason': 70, 'Corinna Cortes': 66,
    'Peter Warden': 75}
topper = max(mathematics, key=mathematics.get)
print(topper)
topper = 'andrew ng'
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 starts here
class_1 = ['Geoffrey Hinton','Andrew Ng','Sebastian Raschka','Yoshua Bengio']
class_2 = ['Hilary Mason','Carla Gentry','Corinna Cortes']

new_class = class_1 + class_2

print(new_class)

new_class.extend(['Peter Warden'])

print(new_class)

new_class.remove('Carla Gentry')

print(new_class)


# Code ends here


# --------------
# Code starts here
courses = {'Math':65,'English':70,'History':80,'French':70,'Science':60}

total=0
for key,value in courses.items():
    total += value 

percentage = (total/500)*100

print(percentage)


# Code ends here


# --------------
# Code starts here
mathematics = {'Geoffrey Hinton':78,'Andrew Ng':95,
'Sebastian Raschka':65,'Yoshua Benjio':50,
'Hilary Mason':70,'Corinna Cortes':66,'Peter Warden':75}

topper = max(mathematics, key = mathematics.get)

print(topper)


# Code ends here  


# --------------
# Given string
topper = 'andrew ng'


# 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


