feat: created all deliverable files for Lab 3_4

This commit is contained in:
baphim
2026-09-30 14:34:23 -04:00
parent 0168228f7f
commit 1e740c7ff8
4 changed files with 21 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
"""
Write a Python program that outputs all possible strings formed by using the chagacters 'c', 'a', 't', 'd', 'o', and 'g'
exactly once.
"""
+4
View File
@@ -0,0 +1,4 @@
"""
Write a Python program that can take a positive integer greater than 2 as input and write out the number of times
one must repeatedly divide this number by 2 before getting a value less than 2.
"""
+7
View File
@@ -0,0 +1,7 @@
"""
Write a Python program that can "make change". Your program should take two numbers as input, one that is a monetary
amount charged and the other that is a monetary amount given. It should then return the number of each kind of bill and
coin to give back as change for the difference between the amount given and the amount charged. The values assigned
to the bills and coins can be based on the monetary system of any current or former government. Try to design your
program so that it returns as few bills and coins as possible.
"""
+6
View File
@@ -0,0 +1,6 @@
"""
Write a Python program that can simulate a simple calculator, using the console as the exclusive input and output
device. That is, each input to the calculator, be it a number, like 12.34 or 1034, or an operator, like + or =, can be
done on a separate line. After each such input, you should output to the Python console what would be displayed on your
calculator.
"""