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 =…
Menu Driven Program to implement all user defined functions of a list in Python
Menu Driven Program to implement all user defined functions of a list in Python ch=’y’ L = [1,2,3,4,2,3,2,4,5,6,71,1,10,12] while ch == ‘y’ or ch==’Y’: print(“1. append in list”) print(“2.…
CBSE Computer Science Introduction to python
Introduction to python Python may be a general-purpose interpreted, interactive, object-oriented, and high-level programming language . it had been created by Guido van Rossum during 1985- 1990. Like Perl, Python ASCII text file is additionally available…
CBSE Class 11 Computer Science Python Sample Paper 2021
CBSE Class 11 Computer Science Python Sample Paper 2021 Annual Examination (2020-21) Class-11 Subject: Computer Science Time allowed: 3:00 hours/ Maximum Marks:70 All questions are compulsory. 1- Name any two application software. (1) 2-…
CBSE class 12 computer science python Assessment
CBSE class 12 computer science python Assessment Assessment-1 Class: XII Subject: Computer Science SECTION A 1- Identify the valid logical operator in Python:(1) a) and b) % 2- Identify the valid identifier: (1) a) else…