Posts

Showing posts from November, 2024

Lecture - 20

    Lecture - 20

Lecture - 19

    Lecture - 19

Lecture - 18

   Lecture - 18

Lecture - 17

  Lecture - 17

Lecture - 16

  Lecture - 16

Lecture - 15

 Lecture - 15

Lecture - 14

 Lecture - 14

Lecture - 13

 Lecture - 13

Lecture - 12 (8) Special Operators

 8)  Special Operators

Lecture - 11 (7) Identity Operators

 7)  Identity Operators

Lecture-10 (6) Membership Operators

6)  Membership Operators PYthon  Membership Operator ----Python IN Operator ---Python NOT IN Operator Python IN Operator The in operator is used to check if a character/substring/element exists in a sequence or not. Evaluate to True if it finds the specified element in a sequence otherwise False. క్యారెక్టర్/సబ్‌స్ట్రింగ్/ఎలిమెంట్ సీక్వెన్స్‌లో ఉందో లేదో తనిఖీ చేయడానికి ఇన్ ఆపరేటర్ ఉపయోగించబడుతుంది. ఒక క్రమంలో పేర్కొన్న మూలకం తప్పు అని గుర్తించినట్లయితే అది ఒప్పు అని మూల్యాంకనం చేయండి. Example:  Example 1: In this code we have initialized a list, string, set, dictionary and a tuple. Then we use membership  in operator  to check if the element occurs in the corresponding sequences or not. python code: -------------------------- ------------------------------------------ # initialized some sequences list1 = [1, 2, 3, 4, 5] str1 = "Hello World" set1 = {1, 2, 3, 4, 5} dict1 = {1: "Geeks", 2:"for", 3:"geeks"} tup1 = (1, 2, 3, 4, 5) # using membership ...

Lecture-09 (5) Comparison (Relational) Operators

5)  Comparison (Relational) Operators

Lecture-08 (4) Logical Operators

4)  Logical Operators

Lecture-07 (3) Bitwise operators

3)  Bitwise operators

Lecture-06 (2) Assignment operators

  2)  Assignment operators

Lecture-05 ((1) Arithmetic Operators)

 1)  Arithmetic Operators

Lecture-02 Data Types

  wed 27 nov 2024 Index for "Python Data Types: A Complete Guide with Real-World Applications" Introduction Overview of Python data types and their importance Numeric Data Types 2.1 Integer ( int ) Definition Example Real-World Applications 2.2 Float ( float ) Definition Example Real-World Applications 2.3 Complex ( complex ) Definition Example Real-World Applications Sequence Data Types 3.1 String ( str ) Definition Example Real-World Applications 3.2 List ( list ) Definition Example Real-World Applications 3.3 Tuple ( tuple ) Definition Example Real-World Applications 3.4 Range ( range ) Definition Example Real-World Applications Mapping Data Type 4.1 Dictionary ( dict ) Definition Example Real-World Applications Set Data Type 5.1 Set ( set ) Definition Example Real-World Applications Boolean Data Type 6.1 Boolean ( bool ) Definition Example Real-World Applications Binary Data Types 7.1 Bytes ( bytes ) Definition Example Real-World Applications 7.2 Bytearray ( bytearray ) D...

Lecture-01 Python Installation Process

Image
 Lecture-01 Python Installation Process online paint app https://kleki.com/ Install  1) Anaconda  2) Jupyter Note book  Anaconda pics 2 Jupyter Notebook Pics 3

Lecture-03 Python Variables

 Lecture-02 Python Variables A Python variable name must start with a letter or the underscore character. A Python variable name cannot start with a number. A Python variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ). Variable in Python names are case-sensitive (name, Name, and NAME are three different variables). The  reserved words(keywords)  in Python cannot be used to name the variable in Python. సరే! ఈ విషయాన్ని తెలుగులోకి అనువదిద్దాం: Python లో వేరియబుల్ పేర్లు Python వేరియబుల్ పేరు తప్పనిసరిగా ఒక అక్షరం లేదా అండర్స్కోర్ ( _ ) తో ప్రారంభమవ్వాలి. Python వేరియబుల్ పేరు సంఖ్యతో (నంబర్) ప్రారంభమవ్వకూడదు. Python వేరియబుల్ పేరు మాత్రమే అక్షర-సంఖ్యా అక్షరాలను మరియు అండర్స్కోర్ ను కలిగి ఉండాలి ( A-z , 0-9 , మరియు _ ). Python లో వేరియబుల్ పేర్లు కేస్ సెన్సిటివ్ (పేర్లు చిన్నా, పెద్ద అక్షరాలపై ఆధారపడతాయి). ఉదా: name , Name , మరియు NAME మూడు వేర్వేరు వేరియబుల్స్. ----------------------------------------------------------------------...