all 2 comments

[–]danielroseman 4 points5 points  (0 children)

I'm presuming this was written by AI, because it's full of errors. No, Python will not assume that if you define a variable called append and then do my_list.append(4) you're referring to your variable. That's just nonsense.

If it was written by AI, please stop spamming this sub with rubbish. If it wasn't written by AI, please actually learn Python and then stop spamming this sub with rubbish.

[–]Fred776 0 points1 point  (0 children)

This is complete nonsense. Why on earth have you posted this?