Group 1 | Group 2 | Group 3 | Group 4 |
---|---|---|---|
Whose values are reflected in the University's Strategic Goals?
Big data and human-centered computing
Democratic Institutions
Climate Change
How can thinking machines help us explore the idea of "data"?
triple_check = lambda a, b, c: print(a*a + b*b == c*c)
a, b, c = 6, 8, 10
t = 6, 8, 10
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-10-267dfa60672e> in <cell line: 1>()
----> 1 triple_check(t)
TypeError: triple_check() missing 2 required positional arguments: 'b' and 'c'
Read the error message.
What do you think it means?
How might you fix (or try to fix) it?
t = 6, 8, 10
b = x, y
a, b = 1,2,3
t = [6, 8, 10]
t = [6, 8, 10]
triple_check = lambda a, b, c: print(a*a + b*b == c*c)
squares = [x*x for x in t]
squares = [x*x for x in t]
What process do you use to understand code?
conts =
['Africa', 'Americas', 'Antarctica', 'Eurasia', 'Oceania']
print(conts[1])
What are the uses and limitations of creativity in Python?