-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
41 lines (34 loc) · 1.05 KB
/
main.py
File metadata and controls
41 lines (34 loc) · 1.05 KB
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
39
40
41
# ***************************************************************
# Name : ProgramNameTong
# Author: Than Tong
# Created : * Course: CIS189
# Version: 1.0
# OS: Windows 11
# IDE: Python
# Copyright : This is my own original work
# based onspecifications issued by our instructor
# Description :
# Input: ADD HERE XXX
# Ouput: ADD HERE XXX
# Academic Honesty: I attest that this is my original work.
# I have not used unauthorized source code, either modified or
# unmodified. I have not given other fellow student(s) access
# to my program.
# main.py
import my_definitions
# Call the greeting function
my_definitions.greeting()
# Call the message function
my_definitions.message()
# Create a sample dictionary
sample_dict = {
"name": "Ken",
"age": 22,
"city": "IOWA"
}
# Call the print_dict function to print the dictionary
my_definitions.print_dict(sample_dict)
# Create a sample set
sample_set = {1, 2, 3, 4, 5}
# Call the print_set function to print the set
my_definitions.print_set(sample_set)