InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 2893–2904 of 3610 questions

Python ProgrammingBeginner1 min read

Python overview

Python is a high-level general-purpose language used for automation, web APIs, data analysis, testing, and AI.

Python ProgrammingBeginner1 min read

Built-in types

Core types include int, float, bool, str, list, tuple, dict, set, bytes, and NoneType.

Python ProgrammingBeginner1 min read

Mutable vs immutable

Lists and dictionaries can change in place; strings, integers, and tuples are immutable containers.

Python ProgrammingBeginner1 min read

Indentation

Indentation defines blocks in conditionals, loops, functions, and classes.

Python ProgrammingBeginner1 min read

Equality vs identity

== compares values; is checks whether two names refer to the same object. Use is None for None checks.

Python ProgrammingBeginner1 min read

Operators

Python supports arithmetic, comparison, logical, membership, identity, assignment, and bitwise operators.