Back to Browse

Printing Patterns in Python | Print stars '*' in Right Angled Triangle Shape | Star Patterns

396 views
May 4, 2020
4:01

#Python #Programming #Pattern Hello Guys, In this video, you are going to learn that how you can print star patterns '*' in Python in a shape of right angled triangle. Code Used in the Video : n = int(input("Enter the no. of rows :")) for i in range(1, n + 1): for j in range(1, i + 1): print('*', end = ' ') print() Editor Used : Visual Studio Code Download Visual Studio Code : https://code.visualstudio.com/ Installation Tutorial (VS Code) : https://www.youtube.com/watch?v=L967cUsXBbA Follow me on Instagram (@ri5h46h) : https://www.instagram.com/ri5h46h/ Follow me on Twitter (@explorishabh) : https://twitter.com/explorishabh/

Download

0 formats

No download links available.

Printing Patterns in Python | Print stars '*' in Right Angled Triangle Shape | Star Patterns | NatokHD