1.1.1 Autobiography

Video

1.1.1 Autobiography

They say to write what you know! In this lesson, you'll work with your first Python program. Watch the video below to see the concepts in action, then try it yourself in the browser editor below.

Try It Yourself

The code editor below is pre-loaded with the autobiography.py file. You can:

  1. Run the code - Click the "Run" button to see what the program does
  2. Edit the variables - Change the values to be about you instead of Reed
  3. Watch the Variable Explorer - See all your variables and their types appear below the output
  4. Experiment - Try adding "Mr." or "Ms." to the name, or change any of the values

Your challenge: Change all the variables to be about you!

Note: The video shows using Spyder IDE, but you're using the browser-based editor instead. The concepts are the same - you can edit code, run it, and see the output and variables just like in the video!

Loading Python environment...