79737394

Date: 2025-08-16 18:18:23
Score: 2.5
Natty:
Report link

In short, if we use the extend function and within the parameters we don't use square brackets, python will only print out our string letter by letter. However, if we put square brackets into this then python would realize we're trying to add the whole string and give it it's unique index which we can then later on use.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hriday Valluri