Examveda

What will be the output of the following Python code snippet?
a='hello'
q=10
vars()

A. {'a' : 'hello', 'q' : 10, ........plus built-in names set by Python....}

B. {......Built in names set by Python......}

C. {'a' : 'hello', 'q' : 10}

D. Error

Answer: Option A


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators