Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
Python data types include integers, floats, strings, lists, tuples, dictionaries, and sets.
Integers: whole numbers without decimal points, e.g. 5, -3
Floats: numbers with decimal points, e.g. 3.14, -0.5
Strings: sequences of characters enclosed in quotes, e.g. 'hello', '123'
Lists: ordered collections of items, e.g. [1, 'apple', True]
Tuples: ordered, immutable collections, e.g. (1, 'banana', False)
Dictionaries: key-value ...
Inheritance in Python allows a class to inherit attributes and methods from another class.
Types of inheritance in Python include single inheritance, multiple inheritance, and multilevel inheritance.
Single inheritance: a class inherits from only one base class.
Multiple inheritance: a class inherits from multiple base classes.
Multilevel inheritance: a class inherits from a derived class, which in turn inherits from anoth
Tuple is immutable, list is mutable, dictionaries are key-value pairs, and set is a collection of unique elements.
Tuple: Immutable, ordered collection of elements. Example: (1, 2, 3)
List: Mutable, ordered collection of elements. Example: [1, 2, 3]
Dictionaries: Key-value pairs, unordered. Example: {'key1': 'value1', 'key2': 'value2'}
Set: Collection of unique elements, unordered. Example: {1, 2, 3}
Top trending discussions
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Software Engineer
24
salaries
| ₹4 L/yr - ₹12.8 L/yr |
Senior Software Engineer
18
salaries
| ₹13 L/yr - ₹25 L/yr |
Software Engineer Trainee
14
salaries
| ₹3.8 L/yr - ₹6 L/yr |
Technical Lead
14
salaries
| ₹15 L/yr - ₹30 L/yr |
Software Developer
10
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Bharti Airtel
Vodafone Idea
Jio
Bharat Sanchar Nigam