<filename>getting-started-with-python/code.py
# --------------
# Code starts here
class_1 = ['<NAME>','<NAME>','<NAME>','<NAME>']
class_2 = ['<NAME>','<NAME>','<NAME>']
new_class = class_1 + class_2
print(new_class)
new_class.append('<NAME>')
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 }

print(courses)
total = 65 + 70 + 80 + 70 + 60
print(total)
percentage = total/5
print(percentage)


# Code ends here


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


# Code ends here  


# --------------
# Given string
topper = '<NAME>'
topper = topper.split()
first_name = topper[0]
last_name = topper[1]
full_name = last_name + ' ' + first_name
print(full_name)
certificate_name = full_name.upper()
print(certificate_name)
# Code starts here



# Code ends here



<filename>getting-started-with-python/code.py
# --------------
# Code starts here
class_1 = ['<NAME>','<NAME>','<NAME>','<NAME>']
class_2 = ['<NAME>','<NAME>','<NAME>']
new_class = class_1 + class_2
print(new_class)
new_class.append('<NAME>')
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 }

print(courses)
total = 65 + 70 + 80 + 70 + 60
print(total)
percentage = total/5
print(percentage)


# Code ends here


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


# Code ends here  


# --------------
# Given string
topper = '<NAME>'
topper = topper.split()
first_name = topper[0]
last_name = topper[1]
full_name = last_name + ' ' + first_name
print(full_name)
certificate_name = full_name.upper()
print(certificate_name)
# Code starts here



# Code ends here



# -------------- # Code starts here # Code ends here # -------------- # Code starts here # Code ends here # -------------- # Code starts here # Code ends here # -------------- # Given string # Code starts here # Code ends here