Skip to content

TeenPudPolite/Python_Before_Alzheimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 

Repository files navigation

Library of Python

Nothing here!!!

Β°β€§ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q

Shift + Enter = run model/ training Ai

lambda it seem like function in python but It shorter than def blah blah

Object-Oriented Programming (OOP) is a programming style where code is organized around objects instead of just functions and logic.

init is a special method in Python classes. It runs automatically when a new object is created.

EX : class Person:

def __init__(self, name, age):
    self.name = name
    self.age = age

Comparison Operators

Equal ==

Not Equal !=

Greater than >

Less than <

Greater than or Equal >=

Less than or Equal <=

Arithmetic Operators

// division but remove decimal

% return remainder

** power of a number

Logical Operators

and = True if both conditions are True

or = True if at least one condition is True

not = reverse the result

Method

Case 1 - Upper Lower letter case

lower = convert string to lowercase

upper = convert string to uppercase

capitalize = make the first letter to uppercase

title = make first letter of every word to uppercase

Case 2 - Remove Space case

strip = remove space from both sides

lstrip = remove space from left side

rstrip = remove space from right side

Case 3 - Search Methods case

find = find position of substring

count = count how many times substring appears

Case 4 - Replace case

replace = replace substring

Case 5 - Split and Join

split = split string into list

join = join list into string

Β°β€§ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q°‧ 𓆝 π“†Ÿ π“†ž ·q

🐍Python🐍

requests - Python library used to send HTTP requests to websites or APIs.

About

This repo for Python language to prevent my Alzheimer.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors