Q:

Create a Python project to create random name (first name, full name etc.) profile etc

0

Create a Python project to create random name (first name, full name etc.) profile etc.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#Source: https://bit.ly/3hlxaq1
#firt create a object for class 'Name'
import random_profile as rp
num = int(input("Input number of random name/full name/profile: "))
name = rp.Name(num)
'''
name = rp.Name(num=1)
num = Total No. of Name You Want To Print
deafult is 1
To Print More Than one Name Change value of num
'''
print("For First Name: ")
name.first_name()

print("\nFor Full Name:")
name.full_name()

print("\nFor Full Profile:")
name.full_profile()

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now