Review: One Rule, Many Files چالش 3 از جلسهی 4، متوسط
این اسکریپت چند خط چاپ میکند؟
``python``
files = ["IMG_1.jpg", "IMG_2.jpg", "notes.txt", "IMG_3.png"]
for name in files:
if name.startswith("IMG_") and name.endswith(".jpg"):
print(name)
برگشت به درس جلسهی 4: پروژه: اولین ابزار من · چالش بعدی: Step 1: The Plan