Here are all the CFUs I have done for my Programming and Prototyping class.
Here, I created a program where the program asks for the user's first and last name. It then greets the user using both names.
Skills: Python
This program shows the ASCII cat being printed, and it is printed with using only one print() statement. It is a great exercise for string literals and escape sequences.
Skills: Python
This CFU is an interactive program that asks the user for 2 numbers and outputs the calculation expression and the result.
Skills: Python
Asks the user to enter the height, width, and area of a rectangle. Converts the input to integers and stores them in variables. Calculates the area of the rectangle and stores it in a variable. It lastly outputs the result (convert it to a string for printing).
Skills: Python
Using Python to use different types of coins and add them all up together. The coins that are included in this program are pennies, nickles, dimes, quarters, loonies, and toonies.
Skills: Python
Using Python where a program generates a random number and performs various mathematical operations, including sum, difference, product, quotient, remainder, square root, and exponentiation with a user-provided number.
Skills: Python
A program that writes a series of short Python programs to practice decision-making with if, elif, and else statements under specific restrictions.
(Other CFU 7 Links)
Skills: Python
Using Python to make a loop to print a short sequence of numbers.
Skills: Python
Using Python to make a program that uses a "for loop" to print numbers that increase by 0.5.
Skills: Python
A Python program that prints the lyrics of the β99 Bottles of Beerβ song β counting down from 99 to 1.
Skills: Python
Using Python to create a canvas that draws a smiley face using dots.
Skills: Python
Using Python to create a canvas that draws a smiley face using lines.
Skills: Python
Using Python to create a canvas that draws a smiley face using polygons.
Skills: Python
Using Python to create a canvas that draws a smiley face using circles.
Skills: Python