Answer Posted / Abhinav Pal
Scope in Ruby changes when you define new variables, methods, classes, or instances, as well as when blocks (such as `do...end` or `{}`) are started or ended. In Python, the scope changes similarly with variable and function definitions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers