Part A

Part B

function abc():
   print("abc")

Part C

Part D