Rewrite the complete script after removing all the syntax errors. Underline the corrections.
k==0
n=int(input('Enter an integer? ')
for k<=n:
print(k^2, k^3)
k+1=k
else: print('End of Loop')
Answers
Answered by
1
k==0
n=int(input('Enter an integer? ')
for k<=n:
print(k^2, k^3)
k+1=k
else:print('End of Loop')
k==0
n=int(input('Enter an integer? ')
for k<=n:
print(k^2, k^3)
k+1=k
else: print('End of Loop')
Similar questions