0
Why is this showing an error
2 odpowiedzi
+ 4
Because you are converting string to int the wrong way -> (int)i = int(i) + 1
should be done like this -> int(i) = int(i) + 1
There is no need to convert string to int multiple times, write your code like this ->
i = int(input())
while i <=10:
print("@")
i += 1
print("Finished!")
+ 1
Thank you