Computer Science, asked by kunalalgi1234, 2 months ago

how to use accessing variable in python​

Answers

Answered by kuldeepswarnkar14
1

Answer:

The variables that are defined inside the methods can be accessed within that method only by simply using the variable name. Example – var_name. If you want to use that variable outside the method or class, you have to declared that variable as a global.

Similar questions