HomeWork.py
python_old/HomeWork.py
# Home work #1
What are the built-in functions in list
# Home work #2
############# Home work ############
Homework 1: Library Book Tracker
Objective: Use dictionary, list, and control flow.
Task:
Create a system to track library books.
Each book has: title, author, genre, and status ("available" or "checked out").
Use a list of dictionaries to represent the library.
Functions to:
Add a new book.
Search for books by genre or author.
Mark a book as checked out or returned.
Print all available books.
Concepts Practiced:
Dictionary structure
if/else to update status
Loops for searching/filtering
相關文章
01_classical_caesar_cipher.py
01_classical_caesar_cipher.py — python source code from the python old learning materials (python_old/Cryptography/01_classical_caesar_cipher.py).
閱讀文章 →02_classical_monoalphabetic.py
02_classical_monoalphabetic.py — python source code from the python old learning materials (python_old/Cryptography/02_classical_monoalphabetic.py).
閱讀文章 →03_classical_rail_fence.py
03_classical_rail_fence.py — python source code from the python old learning materials (python_old/Cryptography/03_classical_rail_fence.py).
閱讀文章 →04_frequency_analysis.py
04_frequency_analysis.py — python source code from the python old learning materials (python_old/Cryptography/04_frequency_analysis.py).
閱讀文章 →05_cryptographic_hashing.py
05_cryptographic_hashing.py — python source code from the python old learning materials (python_old/Cryptography/05_cryptographic_hashing.py).
閱讀文章 →06_password_hashing.py
06_password_hashing.py — python source code from the python old learning materials (python_old/Cryptography/06_password_hashing.py).
閱讀文章 →