Skip to content

task 1 Mohammed Natheer #33

Open
MohNatheer123 wants to merge 1 commit intoProgramming-Club-IAU:masterfrom
MohNatheer123:master
Open

task 1 Mohammed Natheer #33
MohNatheer123 wants to merge 1 commit intoProgramming-Club-IAU:masterfrom
MohNatheer123:master

Conversation

@MohNatheer123
Copy link

No description provided.

Copy link
Author

@MohNatheer123 MohNatheer123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-02-17 232109

@MohNatheer123
Copy link
Author

task 1

Copy link
Author

@MohNatheer123 MohNatheer123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#Mohammed Natheer
for i in range(1, 5):
print('*' * i)

#staircase code
def straicase(star1):
for x in range(1,star1+1):
print('*' * x)

for y in range (star1-1, 0, -1):
    print('*' * y)

num_of_staircase = int(input("Enter the size of staircase: "))
straicase(num_of_staircase)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant