👇NOTE

Labs will be open every week for self practice for all jagruti students:
⚠️ Timings: 1:00 PM to 2:30 PM
  ( Tuesday, Wednesday, Friday & Saturday )
📍Location: Admin Block, Room: 31

Lab Assistant: ShashiKanth

Tuples

Python Tuple is a collection of Python Programming objects much like a list. The sequence of values stored in a tuple can be of any type, and they are indexed by integers. Values of a tuple are syntactically separated by ‘commas‘. Although it is not…

Continue reading...

Day 2: Python Practise Programs

1. Program to calculate simple interest input principal, time and interest_rate from keyboard and print simple interest Simple Interest formule is principle * time * interest_rate / 100 Perimeter of circle formulae = 2pir area of circle formulae = pi*r23. Python Program to Convert Kilometers…

Continue reading...

Comparison Operators in Python

Python operators can be used with various data types, including numbers, strings, boolean and more. In Python, comparison operators are used to compare the values of two operands (elements being compared) a = 9 b = 5 c = 9 # Equality Operator print(a ==…

Continue reading...

Python Logical Operators

Python logical operators are used to combine conditional statements, allowing you to perform operations based on multiple conditions. These Python operators, alongside arithmetic operators, are special symbols used to carry out computations on values and variables. a = 10 b = 10 c = -10…

Continue reading...

IF Else Statements

In Python, If-Else is a fundamental conditional statement used for decision-making in programming. If…Else statement allows to execution of specific blocks of code depending on the condition is True or False. i = 10 # Checking if i is greater than 15 if i >…

Continue reading...

Match Case Statement

Introduced in Python 3.10, the match case statement offers a powerful mechanism for pattern matching in Python. It allows us to perform more expressive and readable conditional checks. Unlike traditional if-elif-else chains, which can become unwieldy with complex conditions, the match-case statement provides a more…

Continue reading...

Loops

Python While Loop is used to execute a block of statements repeatedly until a given condition is satisfied. When the condition becomes false, the line immediately after the loop in the program is executed. # Python example for while loop count = 0 while count…

Continue reading...

Functions

def Python def keyword is used to define a function, it is placed before a function name that is provided by the user to create a user-defined function.In Python, a function is a logical unit of code containing a sequence of statements indented under a…

Continue reading...

Classes and Objects

A class in Python is a user-defined template for creating objects. It is a collection data and functions together, making it easier to manage and use them. When we create a new class, we define a new type of object. We can then create multiple…

Continue reading...