For that last one, it depends on where you're creating your variable. You declared a global variable in both cases if you're in the global context. Also, globals dont slow down code. They can make understanding and maintaining your code more difficult if used improperly.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For that last one, it depends on where you're creating your variable. You declared a global variable in both cases if you're in the global context. Also, globals dont slow down code. They can make understanding and maintaining your code more difficult if used improperly.