user
Can you help with this?

Generate a random eight-digit number using the built-in Python function.

assistant
import random

generated_number = random.randint(100000000, 999999999)

print('Generated 8-digit number:', generated_number)