Home »
Python »
Python Variables MCQs
Which keyword is used to assign a local variable?
16. Which keyword is used to assign a local variable?
- Global
- Local
- No, it has no keyword
Answer: C) No, it has no keyword.
Explanation:
In Python, Local variables are assigned directly no specified keywords are used with them.