Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren- 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 Antwort
0
Here is a Python solution:
https://code.sololearn.com/cnY8SL3d6T12/?ref=app
How would you solve this in your language of choice?