← Back to Dashboard

Final Review Integration Projects: Easy Exercises EASY

"""
Topic 10: Final Review & Integration Projects - EASY Exercises (10)
"""

# Exercise 1: Multi-Step Basic - Ask for a user's name, age, and city. 
# Store them in a dictionary and save it to a JSON file.
# Write your code below:


# Exercise 2: Calculation Tool - Create a function that calculates the total cost 
# of items in a list [10, 20.5, 30] and applies a given discount percentage.
# Write your code below:


# Exercise 3: Simple Logger - Create a class 'Logger' that has a 'log' method 
# which writes a string to a 'log.txt' file with the current date.
# Write your code below:


# Exercise 4: List to DataFrame - Convert a list of lists representing student grades 
# into a Pandas DataFrame and print the mean of the 'Grade' column.
# Write your code below:


# Exercise 5: Basic Chart - Create a NumPy array of 10 random integers and 
# plot them as a line chart using Matplotlib.
# Write your code below:


# Exercise 6: Password Generator - Write a function that generates a 
# random 8-character password using the 'random' and 'string' modules.
# Write your code below:


# Exercise 7: Text Analysis - Count the number of sentences and words in a multi-line string.
# Write your code below:


# Exercise 8: CSV Creator - Write a script that creates a 'students.csv' file 
# with headers: ID, Name, Grade.
# Write your code below:


# Exercise 9: Set Operations Integration - Given two files with list of emails, 
# find the unique emails that appear in BOTH files using sets.
# Write your code below:


# Exercise 10: Simple Class - Create a 'User' class that can save its 
# data to a file called '[username].txt'.
# Write your code below: