March 4, 2024, 11:46 a.m. | Hamidul Islam

DEV Community dev.to




1. Variables and Data Types:



# Variable assignment
x = 10
name = "John"
is_active = True

# Basic data types
integer_variable = 10
float_variable = 3.14
string_variable = "Hello, world!"
list_variable = [1, 2, 3]
tuple_variable = (1, 2, 3)
dictionary_variable = {"name": "John", "age": 30}
set_variable = {1, 2, 3}





2. Control Structures:



# If-elif-else statement
x = 10
if x > 0:
print("Positive")
elif x < 0:
print("Negative")
else:
print("Zero")

# For loop
for i in range(5): …

age basic data datascience hello john machinelearning programming python syntax true types variables world

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US