Generator in python is a function which returns an iterator. It looks like a normal function except that it contains yield statements
Tag: Python FAQ part 2
Most frequently asked python interview questions…
What is triple-quoted string in python?
Triple quoted string in python is a string which is bound by three instances of either a quotation mark (”)
What is universal newlines in python?
Universal newlines in python is a manner of interpreting text streams in which all of the following are recognized as
What is mutable and immutable in python?
Mutable objects can change their value but keep their id(). Immutable is an object with a fixed value. Immutable objects include
What is metaclass in python?
Metaclass is the class of a class. Class definitions create a class name, a class dictionary, and a list of
What is lambda in Python?
lambda is an anonymous inline function consisting of a single expression which is evaluated when the function is called. The syntax to
What is Python 3000?
Python 3000 is nickname for the Python 3.x release line (coined long ago when the release of version 3 was