You are on page 1of 1

def intro(fn, ln, c):

fn = fn.upper()
ln = ln.title()
c = c.upper()
print("I am {} {}" .format(fn,ln))
print("A/n {} student." .format(c))
intro(fn = input("Firstname : "),
ln = input("Lastname : "),
c= input("Course : "))
deci = True
while deci:
deci = input("Another entry [Y/N]? : ")
if deci == "Y" or deci == "y":
intro(fn = input("Firstname : "),
ln = input("Lastname : "),
c= input("Course : "))
else:
break

You might also like