x = 15
if x > 20:
print("A")
elif x > 10:
print("B")
else:
print("C")
result = 0
for i in range(1, 11, 2):
result += i
print(result)
def is_palindrome(s):
return s == s[::-1]
numbers = [5, 2, 8, 1]
numbers.sort()
print(numbers)
def find_max(numbers):
max_num = numbers[0]
for num in numbers:
if ________:
max_num = num
return max_num
dict1 = {'a': 1, 'b': 2}
dict2 = {'c': 3, 'd': 4}
merged = ________
print(merged)
def factorial(n):
if n == 0:
return 1
return n * ________
def count_words(text):
words = text.split()
return len(words)
import random
dice = random.randint(1, 6)
print(dice > 3)