from faker import Faker from random import randint, choice f = Faker() payment_methods = ['paypal', 'bitcoin'] for _ in range(20): money = randint(1, 100) * 0.99 pyment_method = choice(payment_methods) user_email = "*****" + f.email()[6:] print(f'{money}$ --- {user_email} --- {pyment_method}')