Goal Setting & Achievement with Key guide and strategies to set goals effectively and turn them into reality
Self Development |
2025-02-25 14:04:32
Python is a high-level, interpreted programming language known for its simplicity and readability. It is widely used in web development, data science, artificial intelligence, automation, and more.
print("Hello, World!")
name = "Alice" # String
age = 25 # Integer
height = 5.6 # Float
is_student = True # Boolean
my_list = [1, 2, 3, 4, 5] # List
my_tuple = (1, 2, 3, 4, 5) # Tuple
my_set = {1, 2, 3, 4, 5} # Set
my_dict = {"name": "Alice", "age": 25} # Dictionary
age = 18
if age >= 18:
print("You are an adult.")
else:
print("You are a minor.")
# For Loop
for i in range(5):
print(i)
# While Loop
count = 0
while count < 5:
print(count)
count += 1
def greet(name):
return f"Hello, {name}!"
print(greet("Alice"))