an * charcter in 4 times so how do i print print same in another time
def characterPrint(n):
for i in range(0, n):
print("* ", end='')
print("* character 4 times")
characterPrint(4)
n = int(input("\nEnter the number of times to display *: "))
characterPrint(n)
Comments
Leave a comment