Quick actions

cmd+k|ctrl+k

Navigation

Languages

Data Types

Snippet info

Language

Python

Visibility

public

Author

az-developer

Created

2025-12-01T12:55:25.165126Z

Updated

2025-12-01T12:55:25.165126Z

# data types
"""
int
float
complex
bool
str
list
tuple
set
dict
"""
#Classes -> custom types

#Specialized Data Types

#None

# Math Operations
print (2+4)
print (type (3+8))
print (type (2/4))

print (2 ** 3)
print (5 // 4)
print (6 % 4)
print (bin (5))
print (int ('0b101', 2))

# Math Functions
print (round (3.9))
print (abs (-20))

# Operators Precedence

# 1- ()
# 2- **
# 3- * /
# 4- + -
INFO