- 2

Write a python program in which we have to print all no from 1-10 . And in the same program we have to add only even no ??

Please anyone can solve this

12th Jun 2020, 10:15 AM
Geetanshu Mamgain
Geetanshu Mamgain - avatar
2 Respostas
+ 4
Hi Geetanshu Mamgain The Sololearn culture is not to provide complete codes to user requests, but to assist the learning process. If you could show your attempt, then we would be pleased to help you resolve this query
12th Jun 2020, 10:18 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Print ( [ I+int(input() for I in range(1,11)])
12th Jun 2020, 10:32 AM
Sâñtôsh
Sâñtôsh - avatar