DAY 3 THOUGHT PROCESS
Conditional
statement; if/else, draw.io is great for drawing flowcharts, spacing and indentation
are very important, comparison operators (i.e., <,
>, <=, >=, ==, !=),
modulo operator (i.e., %) gives the remainder of a division, nested if/else,
if/elif/else, we can use as many elif as we can in between the if-else
statement.
I was
not very confident about the bmi calculator but I got it right although our
approaches were different. I guess coding really builds up our logic.
We also
learned multiple if statements in succession, indentation has to be a multiple
of 4, logical operators, get ascii art at ascii.co.uk/art/treasure (hearing it
for the first time), using 3 single quotes at the beginning and end of a multi
block string, the “\” is used as an escape symbol in Python, lower function
(.lower()),
I did
all the coding exercises today except the Treasure Island Game (Maybe I will
look into it someday, Maybe). I failed to read the description of the Python
Pizza Deliveries Exercise (I will pay more attention next time). I tried
rushing through the exercise today but realized I should not. I should take my
time and think through every exercise. My excuse is that I have assignments and
other stuff that needs my attention. I can not make coding top priority for now
because there is school. Maybe I could during the weekends. Or maybe I should
overall. I will think on it for a while.
Can you
tell I am pretty tired today??
Good
Night. Yayy
Comments
Post a Comment