Pattern Program in Python * for loop in python * Right Triangle Pattern #shorts #python #ytshorts

preview_player
Показать описание
for loop in python
Print the following Right triangle pattern in python:
star pattern program:

*
**
***
****
*****

new video for python programming
python code for problem solving approach.
- python for beginners
- learn python in simple way.
- first clear basic concepts.
- solve more problems and consistent practice.

for loop in Python Program
python programming for beginners
python programming examples
python for loop
learn python

#shorts #ytshorts #pythonprogram #tutorial #education #learning #python programmer #python

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

you can multiply strings by integers

def create_triangle(height: int) -> str:
return "\n".join(" "*(height-i) + "*"*i for i in range(1, height+1))

print(create_triangle(8))

artemetra
Автор

#Include<stdio.n>
Int main ()
{
int C=1;
For (C=1; C<11;C++)
Printf( "C=%d\n", C);
Return(0);
}

Jamal_Malik
welcome to shbcf.ru