Day 1 of
#learningbasicPython
Hello everyone!
Iโm Shahzeb Ahmed Pitafi, a student at DHA Suffa University, Pakistan.
Excited to start this journey with you all!
Iโll be sharing easy Python basics to help you learn step by step.
Letโs grow together! ๐ปโจ
#Python #CodingJourney
ALT Today I explored the basics of Python:
โ
Printing and Type Checking
โ
Type Casting (converting strings to numbers)
โ
Arithmetic & Assignment Operators
โ
Comparison Operators (==, !=, <, >)
โ
Logical Operators (and, or, not) with Truth Tables
โ
Compact Caption-Style Explanation:
๐ง What I learned in Day 1 of Python:
โ
type() function โ It tells you what kind of value a variable holds (like int, float, or string).
โ
Type Casting โ Changing data from one type to another, like string "5" to integer 5 using int() or float().
โ
Arithmetic Operators โ Used for basic math like , -, *, and /.
โ
Assignment Operators โ Let you update values, like b = 3 means b = b 3.
โ
Comparison Operators โ Compare values using ==, !=, <, >, and return True or False.
โ
Logical Operators โ Combine conditions using and, or, and not.
โ
Truth Tables โ Help you understand how logic works with True/False values.
These are the building blocks of Python logic โ very important for writing real programs
