We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f93037 + e40966b commit e0f8689Copy full SHA for e0f8689
source-code/typing/incorrect_02.py
@@ -10,5 +10,5 @@ def fib(n: int) -> int:
10
return fib(n - 1) + fib(n - 2)
11
12
if __name__ == '__main__':
13
- n = int(sys.argv[1]) # type: str
+ n: str = int(sys.argv[1])
14
print(fib(n))
0 commit comments