+ 2

To print 1st 10 even no.

6th Jan 2021, 3:15 PM
NAMAN KANOJIA, VIII-A
NAMAN KANOJIA, VIII-A - avatar
4 odpowiedzi
+ 1
#py a,i = 0,0 while(i<10): print(a) a +=2 I +=1 it will print first 10 even numbers
6th Jan 2021, 3:25 PM
Surkhab Khan
Surkhab Khan - avatar
+ 3
Can you show us your try first? In addition, what programming language are you writing this in?
6th Jan 2021, 3:25 PM
Jianmin Chen
Jianmin Chen - avatar
+ 2
Thanks
6th Jan 2021, 3:26 PM
NAMAN KANOJIA, VIII-A
NAMAN KANOJIA, VIII-A - avatar
0
Sorry I got the ans
6th Jan 2021, 3:29 PM
NAMAN KANOJIA, VIII-A
NAMAN KANOJIA, VIII-A - avatar