Exercise 13
Parameters, Unpacking, Variables
We’re now going to take a quick detour into the world of the Terminal (aka PowerShell) version of Python. If you did Exercise 0, “Getting Started,” correctly, you should have learned how to start your Terminal. If not, then simply find the program named PowerShell
on Windows or Terminal on macOS. Later in this course you’ll learn how to use the Terminal more extensively, but in this exercise we’ll just do a tiny test.
First, I want you to create a file named ex13.py
using Jupyter’s new Python file:
On the left there’s a list of the files in your directory
Above that list is a blue
[+]
buttonClick that button, and scroll to the very bottom where there should be a button for
Python File
with the Python ...
Get Learn Python the Hard Way: A Deceptively Simple Introduction to the Terrifyingly Beautiful World of Computers and Data Science, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.