Python Tutorial

Python Home

Python Methods

Python String Methods

Python Interview Programs

Python Common ProgramsPython Array ProgramsPython Converter ProgramsPython Star Patterns ProgramPython Number Patterns ProgramPython Alphabet Patterns Program

Python Reference

ASCII Table

Python Number Pattern 48

Last Updated:

Python Number Pattern 48

Try to print the following number pattern using Python.

Print This Output
1
11
121
1331
14641

Source Code

Python Compiler
for i in range(1, 6): if(i == 1): res = i else: res = res * 11 print(res, end="") print()

Share this Page

Meet the Author