n = int(input("Enter a number :-"))
for i in range(1, 11):
print(i*n, end = ",")
When I tried this program, in output I have got a comma in the last position. But I don't want this comma. How can I remove the comma? I just code it for a multiplication table.
Output: 8,16,24,32,40,48,56,64,72,80,