Preview:
import math

# Calculate the square root of a number
x = 25
sqrt_x = math.sqrt(x)
print(sqrt_x)

# Find the maximum value in a list
my_list = [4, 2, 7, 1, 9]
max_val = max(my_list)
print(max_val)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter