code:-
def personal_details():
name, age = "vikram", 21
address = "surat, gujarat, India"
print("Name: {}\nAge: {}\nAddress: {}".format(name, age, address))
personal_details()
output:-Name: vikram
Age: 21
Address: surat, gujarat, India
Age: 21
Address: surat, gujarat, India
Post a Comment
If you have any doubts, Please let me know
Thanks!