- 1

can someone can help me to solve this

Declare and initialize the days of the week. Print and output them using the for loop. Create a condition that if the day is Friday, print “TGIF” instead of the word “Friday”. Sample output: Monday Tuesday Wednesday Thursday TGIF Saturday Sunday

13th Feb 2022, 1:43 AM
Miss CuteđŸ„ș
Miss CuteđŸ„ș - avatar
1 Answer
0
Here is a Python solution: https://code.sololearn.com/cnY8SL3d6T12/?ref=app How would you solve this in your language of choice?
13th Feb 2022, 2:13 AM
boneSpider
boneSpider - avatar