Asterisk code problem

I was programming on jupyter notebooks and it showed an asterisk and the code wasn’t working, this is the code.

Items = “”
Total = 0
def adding_report(report):
while True:
X = input(“please input integer to add or Q to quit”)
if X.isdigit() == “True”:
X = int(X)
Total = Total + X
if report == “A”:
Items = Items + X
elif X == “Q”:
print(“Your result is”)
if report == “A”:
print(“Items”)
print(Items)
print(“total”)
print(Total)
break
else:
print(“invalid input.”)
adding_report(“T”)

I would appreciate any help. Thanks.