Operator in python
Operator in python Operators are the constructs which can manipulate the value of operands. Consider the expression 4 + 5 = 9. Here, 4 and 5 are called operands and + is called operator. Types of Operator Python language supports the following types of…
Dictionary in Python Class 11 Notes
Dictionary in Python Class 11 Notes In this section students of class 11 and 12 having computer science or I.P. will learn about the dictionary in python programming. These notes are prepared as per the CBSE Syllabus and covers all the topics such as…
Tuple in Python Class 11 Notes Computer Science/ Informatics Practices
Tuple in Python Class 11 Notes : Easy Notes for CBSE Students Introduction to Tuples in Python Hey Class 11-12 CBSE students! Welcome to your easy notes on Tuples in Python—a key topic in your Computer Science syllabus. A tuple is like a list, but you…
List Manipulation in Python Class 11 Notes
List Manipulation in Python Class 11 Notes What is List in Python? Python Lists Like strings, lists are a sequence of values. A list is a data type that can be used to store any type and number of variables and information. The values in the list are…
String Data Type in python Class 11 Notes
String Data Type in python WHAT ARE STRINGS? In Python, a string is a sequence of characters, enclosed in either single quotes (”) or double quotes (“”). Strings are immutable, which means once a string is created, its contents cannot…
Number Data Type in python
Number Data Type in python Python Numbers Number data types store numeric values. Number objects are created when you assign a value to them. For example − var1 = var2 = 10 You can also delete the reference to a number object by using the del statement.…
What are variables in python
What are variables in python Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based on the data type of a variable, the interpreter allocates memory and…
What are Identifiers and Keywords in Python
What are Identifiers and Keywords in Python What are Identifiers in Python Python Identifiers A Python identifier is a name used to identify a variable, function, class, module or other object. An identifier starts with a letter A to Z or a to z or an…
First Python Program “Hello Python”
Introduction Python is an interpreted language as its programs are executed by an interpreter. Thus, Python interpreter should be installed on the computer system to write and run Python programs. Python IDLE (Integrated Development and Learning…
Menu Driven Program to show various logical operation on List
Menu Driven Program to show various logical operation on List def search(): L = [] M = [] N= [ ] n = int(input(“enter how many elements “)) for i in range(n): x = int(input(“enter a number”)) L.append(x) f=0 x =…