python patterns 2 : number pyramid

preview_player
Показать описание
In this video, I will show you how to create the shown number pyramid using python. The python fundamentals that this video will improve are:
* python data type: how are strings different from integers
* for loop: how for loop iterates through the list
* range function: how range function generates a list of values that can be later provided to for loop also
* if and else condition: check whether the number has reached a certain value.

some terms related to this video :
python pyramid pattern
python pyramid
python pyramid program
python pyramid program example
python tutorial
python tutorial for beginners
what is python
what is python used for
python pattern
python pattern programs
python pyramid pattern programs

tags: #python_pattern #stay_home_code_with_me #i_know_python
Рекомендации по теме
Комментарии
Автор

n = 5
for i in range(0, n):
print(str(i) * (i + 1))


Even this works for the first one i guess

mounishpv
Автор

how can i build the list of pyramid with different numbers

giorgibakuradze
Автор

Why do you still use win 7 I think it's unsupported (I always uses win 7 but I recently switched to win 10 and then ubuntu

teamplus