Packing-Unpacking Procedure
The Littleendian Method
A Base Changing Practicepalooza
Hex Numbers and Colors Download colorDemo.zip from the navigation bar on the left. Decompress it and open the files with VSCode. Look in the CSS file, and you will see this.
/*Author: Morrison*/
h1, h2, .display
{
text-align:center;
}
body
{
background-color:#FFFFFF;
}
Change the 6-digit hex number inside of the body
style rule. Then, in your browser, choose File → Open... and
open the HTML file. Let's pool our knowledge.
red | ||
---|---|---|
green | ||
blue | ||
yellow | ||
What is an object? An object is an item stored in memory. Objects have three attributes.
All data in Python are represented as objects. Python, like every other language, has a type ecosystem. In this portion of the course, we will being by learning about Python's scalar types. Later, we will address sequences, sets, and dictionaries.