title: Updating dictionaries located in other functions
body: <p>I'm trying to add items to a dictionary but since the dictionary is in another function they never get updated when I used my addCourses() function.</p>
  
  <p>When calling the addCourses() function I add the functions that contain the dictionaries as arguments in their perspective places, but it doesn't update the original dictionaries so that when I try and getCourseInfo for my new course it is not there.</p>
  
  <pre><code>def courseRooms():
      rooms = {'CS101': '3004', 'CS102': '4501', 'CS103': '6755', 'NT110': '1244', 'CM241': '1411'}
      return rooms
  
  
  def courseInstructors():
      instructors = {'CS101': 'Haynes', 'CS102': 'Alvarado', 'CS103': 'Rich', 'NT110': 'Rich', 'CM241': 'Lee'}
      return instructors
  
  
  def courseTimes():
      times = {'CS101': '8:00am', 'CS102': '9:00am', 'CS103': '10:00am', 'NT110': '11:00am', 'CM241': '1:00pm'}
      return times
  
  
  def getCourseInfo(rooms, instructors, times, course):
      if course in rooms:
          print('Course:\t\t', course)
          print('Room:\t\t', rooms.get(course))
          print('Instructor:\t', instructors.get(course))
          print('Time:\t\t', times.get(course))
      else:
          print("Course number not found. Please try again.")
  
  
  def addCourse(room, instructor, time):
      course = input("Please enter the course number you are trying to add: ").upper()
      room[course] = 'null'
      roomNumber = input("Please enter the room number for that course: ")
      room[course] = roomNumber
      teacher = input("Please enter the instructor for that course: ").title()
      instructor[course] = teacher
      meetingTime = input("Please enter the meeting time for that course: ")
      time[course] = meetingTime
      print("Thank you. That course has been added.")
  </code></pre>
  
  <p>Are the dictionaries not being updated at all or are they just not updating the original ones? It doesn't give me and error but it's not working as intended.</p>