Class 26 — March 23
Practice makes perfect — Is more than a platitude — Take it to your heart
Look both ways
- TBD - April 6 or 9th. Likely the 6th.
- Function parameter
x is a numeric value. The function returns integer -1, 0, or 1 depending respectively whether
x is negative, zero, or positive. The function does not print any output.
- If the length of string
sis odd, the function returns the middle character of
s; otherwise, the function returns the two middle characters of
s. The function does not print any output.