CFUs:

Here are all the CFUs I have done for my Programming and Prototyping class.

CFU #1 First Program

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

CFU #2 ASCII Art β€” Single-Print Cat

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

CFU #3 Mathematical operations

This CFU is an interactive program that asks the user for 2 numbers and outputs the calculation expression and the result.

Skills: Python

CFU #4 Rectangle Area Calculator

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

CFU #5 Piggy Bank

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

CFU #6 Random Number Calculator

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

CFU # 7 If, Elif, and Else

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

CFU#8 πŸ” For Loop Practice: Counting by Tens

Using Python to make a loop to print a short sequence of numbers.

Skills: Python

CFU #9 πŸ” For Loop Practice: Counting with Decimals

Using Python to make a program that uses a "for loop" to print numbers that increase by 0.5.

Skills: Python

🎡 CFU #10 🍻 For Loop Challenge: 99 Bottles Song

A Python program that prints the lyrics of the β€œ99 Bottles of Beer” song β€” counting down from 99 to 1.

Skills: Python

CFU #13 Happy Dots

Using Python to create a canvas that draws a smiley face using dots.

Skills: Python

CFU #14 Happy Lines

Using Python to create a canvas that draws a smiley face using lines.

Skills: Python

CFU #15 Happy Shapes

Using Python to create a canvas that draws a smiley face using polygons.

Skills: Python

CFU #16 Happy circle

Using Python to create a canvas that draws a smiley face using circles.

Skills: Python