Is there another way to get the same result as “for loop” in this code:
display = []
for letter in random_word:
display.append("_")
New contributor
Muhammed Saied is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2