Print first 10 natural numbers in Python using for loop #shorts

preview_player
Показать описание
If someone asks you to print the first 10 natural numbers in Python then you have a chance to impress the interviewer.

Because you can generate the first 10 numbers or first n numbers using only 1 line of python code.

In this video, I will tell you Python one-liner to print the first 10 natural numbers using for loop in python so make sure you watch it till the end.

*****************************************
To watch more videos on python programming visit my channel Joey'sTech.
*****************************************

Python one-liners

Python Programming

Dynamic programming problems
Рекомендации по теме