Python program to generate fake data like name, email

In this tutorial, we are going to show and explain the Python program to generate fake data like name, email. We have added the video tutorial and the source code of the program.

So let us begin with the Python program to generate fake data like name, email.

 

Video Tutorial: Python program to generate fake data like name, email

 

Python program to generate fake dat...
Python program to generate fake data like name, email #shorts #coding #programming

 

Source code:

 

from faker import Faker
fake = Faker()
for i in fake.profile():
    print(i.upper(),':',fake.profile() [i])

 

Output:

 

Python program to generate fake data

Leave a Reply

Your email address will not be published.