show how to use Built-in Functions and Libraries

PHOTO EMBED

Mon Apr 17 2023 08:49:52 GMT+0000 (Coordinated Universal Time)

Saved by @Xtralaj_tank #python

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)
content_copyCOPY