Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Draw attention to types when teaching students Python to help lay the groundwork for understanding types in lower-level programming languages they’ll learn about later.

Share Draw attention to types when teaching students Python to help lay the groundwork for understanding types in lower-level programming languages they’ll learn about later. with FacebookShare Draw attention to types when teaching students Python to help lay the groundwork for understanding types in lower-level programming languages they’ll learn about later. with Twitter
  • Asking students to think about what type of thing is being returned in Python is very difficult but it is important to get them thinking this way from the beginning.
  • Having students evaluate Python expressions for both value and type on homework, quizzes, or exams can help encourage students to think about type.

More about this tip

Tags

  • Student-Focused Assessment
  • Programming Concepts
  • Python
  • CS 1
  • Intro Programming
External Source

Interview with Tia Newhall

Other Tips By
Other Tips By Tia Newhall

Similar tips

Use 7-day 4-doses-a-day pill-organizers to introduce students to 2D arrays because these create an interactive, 7-by-4 two-dimensional array that helps students visualize this abstract concept.
Use analogies to real-life things or events in order to provide students with a more concrete picture of abstract concepts.
Misconception: Students struggle with the jump from writing code in one method to writing code in two methods.
  • CSTT Facebook
  • CSTT Twitter

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Footer Icons by Mohammed Alyousfi. Powered by Drupal.

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College