Python Revision Tour - Revision Notes
CBSE Class 12 Computer Science 1 Python Advanced Programming Revision Notes (Review of Python) Interactive Mode: Interactive Mode, as the name suggests, allows us to interact with OS. Script Mode: In script mode, we type Python program in a file and then use interpreter to execute the content of the file. Number: Number data type stores Numerical Values. Sequence: A sequence is an ordered collection of items, indexed by positive integers. Arithmetic operators: +, -, *, /, %, ** and //. Relational operators: <, <=, >, >=, != or <> and ==. Logical operators: or, and, and not Assignment Operator: =, +=, -=, *=, /=, %=, **= and //= Functions in Python: A function is named sequence of statement(s) that performs a computation. Module: A module is a file containing Python definitions (i.e. functions) and statements. Standard library of Python is extended as module(s) to a Programmer. String: In python, c...