ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Python Pattern Programs - Printing Stars in Hollow Equilateral Triangle Shape | Pyramid Pattern

hollow

equilateral

triangle

pattern

pyramid

shape

python

programming tutorial

python pattern programs

python pattern tutorial

python design pattern

python patterns

star pattern

printing star pattern

Автор: Amulya's Academy

Загружено: 2017-12-17

Просмотров: 97696

Описание: In this Python Pattern Printing programs video tutorial you will learn to print stars in hollow right angle triangle shape in detail.

To print stars in hollow equilateral triangle shape in python you have to use two for loops. the first loop is responsible for rows and the second for loop is responsible for column.next we need to use if else conditional statements. To write the conditions we used logical or operator.

If you are using python 2 then in the above program you have to use print as statement and you cant use end in python 2, so

print("*",end="")

instead of this you have to use

print "*",

Thanks to Winter Arctic who gave the idea of using sum of row and column value.

For more free tutorials on computer programming
  / amulsacademy  
  / amulsacademy  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Python Pattern Programs - Printing Stars in Hollow Equilateral Triangle Shape | Pyramid Pattern

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]