Home » 
        Python » 
        Python Variables MCQs
    
        
    Can you use a local variable outside the function?
    
    
    
	14. Can you use a local variable outside the function?
    
      - Yes
 
      - No
 
      - Only in the special case
 
    
    Answer: B) Java
    Explanation:
    In Python, Local variables cannot be used outside the function, if you will use them it will show you the name error.