Computer Science, asked by hhshsh40, 11 months ago

Is this program is right for havinging output ----
12
14
16
18
-
-
98

Attachments:

Answers

Answered by Brainlyshchay
3

Sorry buddy, but your your code is showing the following output:

File "<stdin>", line 1

SyntaxError: only single target (not tuple) can be annotated

So I think there is something wrong in the code :(

Please also check the photo for more information:

Attachments:
Answered by sravankowshik
0

Answer:

Yes

you can also use:

a=12

while (a < 98):

   Print a

   a=a+2

(avoid brackets if python 2)  

Explanation:

Similar questions