Please explain what are the rules for local and global variables in python?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Python Interview Questions

What is key lambda in python?

0 Answers  


Explain docstring in python?

0 Answers  


Is python slower than c?

0 Answers  


What are the differences in list and tuple?

0 Answers  


Tell us something about garbage collector in python?

0 Answers  






How can we make a executable file with python script?

0 Answers  


which standard datatype in python is immutable?

0 Answers  


What happened if we call a key that is not present in dictionary and how to tackle that kind of error ?

0 Answers  


What does stringvar.strip() does?

0 Answers  


What is frozen set in python?

0 Answers  


Why does the following behave unexpectedly in python?

0 Answers  


What does “list comprehension” mean? How does it work and how can I use it?

0 Answers  


Categories