<filename>SK_Learn_0070/code.py
# --------------
# Code starts here
class_1 = ['<NAME>','<NAME>','<NAME>','<NAME>']
class_2 = ['<NAME>','<NAME>','<NAME>']
new_class = []
new_class.extend(class_1)
new_class.extend(class_2)
print(new_class)

new_class.append('<NAME>')

print(new_class)

new_class.pop(5)

print(new_class)
# new_class.remove('<NAME>')

# print(new_class)




# Code ends here


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

total=sum(courses.values())

print(total)

percentage = (total/500)*100

print(percentage)

# Code ends here


# --------------
# Code starts here
mathematics = {'<NAME>' : 78,
               '<NAME>' : 95,
               '<NAME>' : 65,
               '<NAME>' : 50,
               '<NAME>' : 70,
               '<NAME>' : 66}

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

# Code ends here  


# --------------
# Given string
topper = 'andrew ng'
first_name = topper.split()[0]
last_name = topper.split()[1]

# Code starts here

full_name = last_name + ' ' + first_name

certificate_name = full_name.upper()

print(certificate_name)



# Code ends here



<filename>SK_Learn_0070/code.py
# --------------
# Code starts here
class_1 = ['<NAME>','<NAME>','<NAME>','<NAME>']
class_2 = ['<NAME>','<NAME>','<NAME>']
new_class = []
new_class.extend(class_1)
new_class.extend(class_2)
print(new_class)

new_class.append('<NAME>')

print(new_class)

new_class.pop(5)

print(new_class)
# new_class.remove('<NAME>')

# print(new_class)




# Code ends here


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

total=sum(courses.values())

print(total)

percentage = (total/500)*100

print(percentage)

# Code ends here


# --------------
# Code starts here
mathematics = {'<NAME>' : 78,
               '<NAME>' : 95,
               '<NAME>' : 65,
               '<NAME>' : 50,
               '<NAME>' : 70,
               '<NAME>' : 66}

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

# Code ends here  


# --------------
# Given string
topper = 'andrew ng'
first_name = topper.split()[0]
last_name = topper.split()[1]

# Code starts here

full_name = last_name + ' ' + first_name

certificate_name = full_name.upper()

print(certificate_name)



# Code ends here



# -------------- # Code starts here # new_class.remove('<NAME>') # print(new_class) # Code ends here # -------------- # Code starts here # Code ends here # -------------- # Code starts here # Code ends here # -------------- # Given string # Code starts here # Code ends here