68 - Exercise 7
π§Ά Tags:: #Python_Basics
Up:: 69 - Class Methods
Down:: 67 - Exercise 6 Solution
π Resources:: Playlist
2024-02-17 - 15:10
Write a program to clear the clutter inside a folder on your computer. You should use os module to rename all the png images from 1.png all the way till n.png where n is the number of png files in that folder. Do the same for other file formats. For example:
- sfdsf.png --> 1.png
- vfsf.png --> 2.png
- this.png --> 3.png
- design.png --> 4.png
- name.png --> 5.png