Computer Science, asked by saranshkumar2005, 8 hours ago

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 likhithkancherla
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