can someone can help me to solve this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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