Day 32/100 -- Day 32 Challenge

So looking at the Answer for the challenge, and the code is:

import random
greetings = ["Hello there!", "Konnichiwa", "Guten Tag!", "Bore Da!"]
index = random.randint(0,3)
print(greetings[index])


                              
</details>

And I feel the </details> tag is incorrect as there is no “inclination” of HTML in the code, and the actual code does not work whatsoever, it only prints Hello There!

Please correct any of my errors.

11 posts were merged into an existing topic: Day 032 - Project 32 : Greetings in Different Languages

@ShaunMostert if my reply helped you please mark it as the solution, so if people have this problem like you they can see what helped you to help them.

I can’t find the solution button.

@ShaunMostert under the Repl there should be a thing that says ✅ Solution click that and it should work.

Nothin there. I can’t see anything.

@ShaunMostert can you show me a picture of what you see? You should be able to mark a solution since it is Code Help but you might not with the 100 Days of Code.

@ShaunMostert are you able to get rid of the 100 Days of Code and see if it shows. Click the pencil at the top of the post to edit it.

because this post was created by @IanAtCSTeach, and is an “umbrella post” for all code problems related to “Day 032 - Project 32 : Greetings in Different Languages”, you can’t really close this post or mark anyone’s post as a solution.

2 Likes