12/28/2025 - Daily Python challenge
Goal: Create a function that replaces all 1s in a list with the position of the 1 in the list.
Example: if the 1 is the 8th element, replace it with 7 (0 indexing)
Difficulty: Easy/Medium
Follow me for daily challenges and tips!
#python #programming #daily