Practice Exercise #1: Get up and running with Python

Activity Summary

Using Python 3 and the trinket.io tool, you’ll learn how to create a program that introduces you to anyone who runs the program using the trinket URL.

Video

Screenshot: Click (or tab) to the full screen video viewer.
Pro tip: This button will give you the best quality fullscreen experience, the default view is…awful.

Activity Instructions

  1. Create your trinket account at trinket.io (pro tip: use your TMU Google account to save setup time).
  2. Create a new Python3 trinket. 
  3. Print a line of text introducing yourself.
  4. Comment out your first attempt at coding, so that the program skips it.
  5. With your name entered as a variable, print a line of text introducing yourself.
  6. Using the ‘share’ button in Trinket, copy the URL and submit it to the course assignment folder.

Code Example

Resources

For those who want to go beyond scratching the surface this week, here’s a curated list of resources that may save you from sifting around in Google: