def positive_input():
x = int(input("Enter a positive integer: "))
while x <= 0:
print("Invalid input!")
x = int(input("Enter a positive integer: "))
return x
def main():
x = positive_input()
y = positive_input()
while y <= x:
for i in range(x - y):
print("*", end="")
y = y + 2
print("")
print("Complete!")
main()
def positive_input():
x = int(input("Enter a positive integer: "))
while x <= 0:
print("Invalid input!")
x = int(input("Enter a positive integer: "))
return x
def main():
x = positive_input()
y = positive_input()
while y <= x:
for i in range(x - y):
print("*", end="")
y = y + 2
print("")
print("Complete!")
main()