Skip to content

Akshitha0118/Python-Code-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TASK--Python-3.12-Doc

🐍 Python Learning Repository

Welcome to my Python Learning Repository!
This project contains notes, tutorials, PDFs, practice problems & pattern programs to strengthen your Python skills from beginner to intermediate level.


📁 Study Materials Included (PDF Files)

File Name Description
DATA TYPES.pdf Basic Python Data Types
Manipulating Strings.pdf String functions and operations
Python Basic Problems.pdf Beginner level coding problems
Python Loops.pdf Looping structures in Python
Python Pattern Problems.pdf Pattern-based question sets
Python Patterns.pdf Pattern logic and solutions
Python Problems task - 24.pdf Logical questions for practice
Python doc tutorial.pdf Documentation format notes
Python vs SQL.pdf Comparison of Python with SQL
Task11 basic python.pdf Basic assignments
python CLI .pdf Command Line Interface in Python

📘 Python Quick Notes

A short and crisp revision of important Python concepts.


🔹 Data Types

Type Example Description
int 10 Integer values
float 3.14 Decimal values
str "Hello" Text data
bool True/False Logical values
list [1,2,3] Mutable sequence
tuple (1,2,3) Immutable sequence
set {1,2,3} Unordered unique elements
dict {"name": "Aki"} Key-value pairs

Check datatype:


python print(type("Hello"))

🔹 Variables

name = "Akshitha" age = 21

🔹 Operators

Type Example Arithmetic + - * / % // ** Comparison == != > < >= <= Logical and, or, not Assignment = += -= *=

🔹 Type Casting

x = int("5") y = float("3.14")


🔹 Input & Output

name = input("Enter your name: ") print("Hello", name)


🔹 Comments

Single-line comment

""" Multi-line comment """

🔥 Conditional Statements

marks = 75

if marks >= 90: print("A Grade") elif marks >= 60: print("B Grade") else: print("C Grade")

🔁 Loops

▶ For Loop for i in range(5): print(i)

🔁 While Loop

count = 1 while count <= 5: print(count) count += 1

🔂 Control Statements

for i in range(10): if i == 5: break if i == 3: continue print(i)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages