Fix typo
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def toss_a_die(k: int) -> int:
|
|
25 |
Args:
|
26 |
k: An integer specifying the number of sides on the die. If not specified, a good default would be to assume k=6 sides.
|
27 |
"""
|
28 |
-
if k
|
29 |
k=6
|
30 |
value = 3
|
31 |
return f"The random roll of a dice gives a value of {value}"
|
|
|
25 |
Args:
|
26 |
k: An integer specifying the number of sides on the die. If not specified, a good default would be to assume k=6 sides.
|
27 |
"""
|
28 |
+
if k==None:
|
29 |
k=6
|
30 |
value = 3
|
31 |
return f"The random roll of a dice gives a value of {value}"
|