Learn Python with Indian Talent
Welcome to another daily tip from Indian Talent! Here is your Python tip of the day.
# Python tip example
example_list = [1, 2, 3, 4, 5]
squared = [x**2 for x in example_list]
print(squared) # Output: [1, 4, 9, 16, 25]