Skip to content

Commit

Permalink
assignment 3
Browse files Browse the repository at this point in the history
  • Loading branch information
kishanrajput23 authored Feb 9, 2021
1 parent 3f82236 commit 988577e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Week4/Week 4 Programming Assignment 3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
n =int(input())

count = 1

for i in range(1, n+1):

for j in range(1, i+1):

print(count*count, end=" ")

count+=1

print()

0 comments on commit 988577e

Please sign in to comment.