Skip to content

Commit e02d210

Browse files
Imtiaz AhmadImtiaz Ahmad
Imtiaz Ahmad
authored and
Imtiaz Ahmad
committed
first commit for course src code
0 parents  commit e02d210

File tree

372 files changed

+257817
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

372 files changed

+257817
-0
lines changed

‎.idea/Assignments.iml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/inspectionProfiles/profiles_settings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/misc.xml

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/workspace.xml

+265
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Section_01/assignment_01.py

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Assignment 1:
2+
"""
3+
We would like to get the remainder of 15 divided by 4.
4+
The calculation below does not seem to give us this result.
5+
How would you change the code to meet the requirement?
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+
42+
43+
44+
# Solution:
45+
46+
# remainder = 15 % 4
47+
# print(remainder)
48+

‎Section_01/assignment_02.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Assignment 2:
2+
"""
3+
Use of the below format() method is incorrect for what we are trying to do.
4+
We actually have 10 small, 12 large, and 12 medium boxes.
5+
Write code to correct this:
6+
7+
8+
print("We have {2} small boxes, {2} large boxes, {2} medium boxes".format(10,12,12))
9+
10+
"""
11+
12+

0 commit comments

Comments
 (0)