Loops
What are Loops ? A loop is used to repeat a block of code multiple times until a condition is met. Without loops, you would have to write repetitive code manually. Example without loop: Using loop: Types of Loops in Python Python mainly supports two types of loops: For Loop in Python The for loop…
Conditional Statements
Conditional Statements in Python Conditional statements are used to make decisions in a program. They allow the program to execute different blocks of code based on certain conditions in Python. if statement it executes code only if the condition is True. if-else statement It executes one block if condition is true, otherwise another. if-elif-else statement…
Operators in Python
Operators Operators are special symbols used to perform operations on variables and values in Python. They help us perform calculations, comparisons, and logical decisions in a program. Arithmetic Operators These operators are used to perform mathematical operations. Operator Meaning Example + Addition a + b – Subtraction a – b * Multiplication a * b…
Variables and Data types in Python
Variables in Python A variable is a container used to store data values. In Python, you don’t need to declare the type of a variable, it is automatically assigned. Example: Rules for naming variables: Data Types in Python we will mainly study numbers, strings and list in these “Introduction to Python Programming” Syllabus/notes. Your can…
Python Syntax and Basics
Running First Python Program This is the most basic Python program. This program uses the print() function to display output on the screen When you run this code, the output will be: How to run it: Python Syntax Syntax refers to the rules that define how Python code must be written. Python has a very…
Starting With Python Programming
What is Programming ? Programming is the process of writing instructions that a computer can understand and execute to perform specific tasks. Programming is used in everyday technologies like mobile apps, websites, ATMs, and even smart devices. Example: print(“Hello World”) This program tells the computer to display a message. Hello World What is Python Programming…
Syllabus of UGC NET Computer Science And Applications
Unit – 1 : Discrete Structures and Optimization Mathematical Logic: Propositional and Predicate Logic, Propositional Equivalences, Normal Forms, Predicates and Quantifiers, Nested Quantifiers, Rules of Inference. Sets and Relations: Set Operations, Representation and Properties of Relations, Equivalence Relations, Partially Ordering. Counting, Mathematical Induction and Discrete Probability: Basics of Counting, Pigeonhole Principle, Permutations and Combinations, Inclusion-…
Restaurant Management System Computer Science Python MySql Project CBSE Class 12th
This project is made using two parts. First : coding for making tables in mysql server. Second : coding for using project interface. Software Requirements Mysql server : mysql server must be installed in computer. It will be used for accessing data of project. Tables will be made in server in which data will be…
Hospital Management System Python MySql Project CBSE Class 12th Computer Science
Software Requirements Mysql server : mysql server must be installed in computer. It will be used for accessing data of project. Tables will be made in server in which data will be stored. Python idle : python idle must be installed in computer. It will be used for executing python scripts. Mysql.connector : it will…
Library Management System Computer Science Python MySql Project CBSE Class 12th
This project is made using two parts. First : coding for making tables in mysql server. Second : coding for using project interface. Software Requirements Mysql server : mysql server must be installed in computer. It will be used for accessing data of project. Tables will be made in server in which data will be…