Skip to content

Commit c7cd9aa

Browse files
author
CodeHS-Solutions
authored
Create 15.5.6 Activity Tracker
1 parent 9af816d commit c7cd9aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
activities = ['Running', 'Swimming', 'Cycling', 'Yoga', 'Dancing']
2+
3+
file = open("activity_log.txt", "w")
4+
5+
for i in range(len(activities)):
6+
file.write(str(activities[i]) + "\n")
7+
8+
file.close()

0 commit comments

Comments
 (0)