Python - Day 002
PythonContinuing on from Day 001...
Today's Study Materials
Application Install
- Mu editor for macOS - I could do all my learning via the terminal, but since Automate the Boring stuff recommended installing Mu, I thought I'd check it out. I may end up abandoning it eventually.
Things Learned
This is silly, but this is the first time I've ever come across exponential notation:
2 ** 8 = 256
Which is the same as typing:
2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 256
Simple Application
The hello.py application, with some liberties of my own taken:
![](https://scribbles.page/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbGxnIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--b9968777999db942544c48621258ff87547ab3a6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVFJQUNHa0NBQVk2Q25OaGRtVnlld2M2Q25OMGNtbHdWRG9NY1hWaGJHbDBlV2xrIiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--768aeab7fb7843d85fe5b2b4ba237e06e6ef604f/python-day-002.png)
No earth shattering concepts learned today. The "program" is pretty simple and very linear. But it was good to type it out (no copy and paste), thinking about what each step is doing.