12-inch cost per sq in: 0.0707
BANA 4080: Introduction to Data Mining with Python
Today you’ll:
print() statementsGoogle Colab is a free, cloud-based tool that lets you run Python code in your browser. It requires no setup and is perfect for getting started.
Sign in with your Google account (you’ll need one).
Click on “New Notebook.”
In the cell that appears, type:
Press Shift + Enter to run the cell.
Within our notebooks we can include both text and code.
This is great because it allows us to add context around our analysis directly in the same place we are writing code.
Let’s add a title and some simple text to our notebook
Note
Don’t worry, we’ll go into more detail on Markdown in next week’s readings.
You’ll want to eventually install a local IDE
Tip
See the Anaconda Installation and/or VS Code Installation guide in the book appendix
Open the lab notebook in Colab:
We’re using:
💡 \(A = \pi \times r^2\) and π ≈ 3.14159
The event "Python for Everyone" sold 56 tickets at $10.5 each.
Total revenue: $588.0
Met or exceeded goal: False
Before we wrap up…
❓ What questions do you still have about:
💬 What surprised you about writing code today?
🧠 What’s one thing you feel more confident about now?
See you Tuesday!
BANA 4080 | Week 1 Lab