from uuid import uuid4 # 產生 5 個唯一識別碼 uuids = [uuid4() for _ in range(5)] for i, uid in enumerate(uuids, start=1): print(f"UUID {i}: {uid}")