You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After conferring with my volunteers, we referred to the functions as python standard library functions rather than built-in functions because they're not built-in functions. Also, for the Do Now, I instructed my students to type from random import randint rather than just import random for two reasons: 1) They're not used to dot notation, and I'd feel more comfortable showing them that way to write the functions once we've done unit 7, and 2) By using randint() rather than random.randint(), the function would look similar to the functions the students will create in the rest of the unit.
The text was updated successfully, but these errors were encountered:
After conferring with my volunteers, we referred to the functions as python standard library functions rather than built-in functions because they're not built-in functions. Also, for the Do Now, I instructed my students to type
from random import randint
rather than justimport random
for two reasons: 1) They're not used to dot notation, and I'd feel more comfortable showing them that way to write the functions once we've done unit 7, and 2) By usingrandint()
rather thanrandom.randint()
, the function would look similar to the functions the students will create in the rest of the unit.The text was updated successfully, but these errors were encountered: