External Exam Download Resources Web Applications Games Recycle Bin

Importing Separate Files

main.py

#uses functions in helper.py

from helper import *

hi()

helper.py

def hi():
  print("hello from helper file")
  1. Move the functions (deposit, withdraw, balance etc.) from your bank answer from the previous set of Functions questions into a separate file. test to make sure everything still works.