We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65303fe commit f1b38c9Copy full SHA for f1b38c9
Python/sandbox.py
@@ -1,15 +1,6 @@
1
-import string
+from typing import List
2
3
-nums = [num for num in range(1, 27)]
4
-alphabet = [letter for letter in string.ascii_lowercase]
5
-alphabet_nums_dict = dict(zip(nums, alphabet))
+def foo(lst: List[int]) -> str:
+ return 'hi'
6
7
-text = "The sunset sets at twelve o' clock."
8
-position_str = ''
9
-
10
-for letter in text:
11
- for k, v in alphabet_nums_dict.items():
12
- if v == letter.lower():
13
- position_str += ' ' + str(k)
14
15
-print(position_str)
+print(foo([1,2,3]))
0 commit comments