We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec1c3fe commit 4583d39Copy full SHA for 4583d39
challenges/extreme-variance/question.py
@@ -20,3 +20,8 @@ def g(a):
20
l2: list[int | str] = [1, 2]
21
f(l2)
22
g(l2)
23
+
24
+f(1) # expect-type-error
25
+f("1") # expect-type-error
26
+g(1) # expect-type-error
27
+g("1")
challenges/extreme-variance/solution.py
@@ -22,3 +22,8 @@ def g(a: Sequence[int | str]):
28
29
0 commit comments