Every Programmer Should Know This In Python. #python #programming #coding

preview_player
Показать описание
Hello Dear Coder,

This is something that every programmer should know in python.

Stay tuned....

#python #programming #coding
Рекомендации по теме
Комментарии
Автор

Or you can just use list comprehension it will be easier and faster. Like print([i for i in range(500) if i%2) ]

lisichkoslav
Автор

Your content is amazing, I just subscribed!

MyCodingDiary
Автор

[I for i in range(1, 500) if num%2=!0]

TANISH
Автор

I’m a JS developer, and I wonder why do you need for in at the function is_odd, can anyone explain please?

I don’t think it’s required, is it ?

FERnandezJjuan
Автор

Why use the for loop in is_odd function?

ZaifSenpai
Автор

Can I contact you in private about something in the solution? Or may I here?

nassimkraiem
Автор

how to print prime numbers upto 100 , i tried but it is printing 99 also.

Rajashekar
Автор

The odd function is written by a 3 yo? :))))

cezartorescu
join shbcf.ru