- 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
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?