vscode IDE show me an error on using { print(i,end=' ') } with python language
I have used pycharm IDE and it works correctly ...
def showDivisor(number):
for i in range(1, number+1):
if number % i == 0:
print(i, end=' ')
showDivisor(24)
print()function on Python 2.