Skip to content

Commit f1b38c9

Browse files
committed
sandbox
1 parent 65303fe commit f1b38c9

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

Python/sandbox.py

+4-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
import string
1+
from typing import List
22

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))
3+
def foo(lst: List[int]) -> str:
4+
return 'hi'
65

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)
6+
print(foo([1,2,3]))

0 commit comments

Comments
 (0)