-
Notifications
You must be signed in to change notification settings - Fork 9
/
main.py
38 lines (29 loc) · 1.12 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/python
from assistant.python_list import create_square_list_1
from assistant.python_list import create_square_list_2
from assistant.python_list import list_comprehensions
from assistant.python_list import nested_list_comprehensions
from assistant.python_list import list_delete
from assistant.python_iterators_and_generators import iteration_over_list
from assistant.python_iterators_and_generators import iteration_over_string
from assistant.python_iterators_and_generators import iteration_over_dictionary
from assistant.python_iterators_and_generators import iteration_over_file_line
from assistant.python_iterators_and_generators import iteration_practical_usage
def main():
"""
:rtype: object
"""
# assistant > python_list.py outputs
create_square_list_1()
create_square_list_2()
list_comprehensions()
nested_list_comprehensions()
list_delete()
# assistant > python_iterators_and_generators outputs
iteration_over_list()
iteration_over_string()
iteration_over_dictionary()
iteration_over_file_line()
iteration_practical_usage()
if __name__ == '__main__':
main()