Question

Write a small program that accepts to represent the following pattern:

1

1   2

1   2    3  

1    2     3   4

23 Apr 2024
Answer :
Word Count : 249

Here is a simple Python program that accepts and represents the given pattern:

```python
# Program to print the pattern

# Loop through 1 to 4 to control the rows
for i in range(1, 5):
    # ___ ____ __________ ____ __________ ____ _______ ____ __________ ___ _____.
______ ___ ________ __________ ______ _______ _______ ___ ___ ___ _____.
____ ______ ____ ______ ______ _______ _________ ___ ________ __________.
__________ ________ ___ _____ _________ __________ ___ ________.
________ ___ __________ __________ ________ ___.
____ ___ _____ ________ __________ _______ _______ _____ ________ _____ __________.
______ __________ _________ _____ ______ _________ _________ ______ __________ ___.
_____ ___ _______ ______ _____ ______ _________ _____ _______ _______ ___ _____.
____ _______ __________ ____ ____ ___ _________ _______ _____ _____ _______.
_______ ___ __________ ______ ______ _______ ____ ________ _______.
_______ ________ ___ ______ __________ ___ ________.
_____ _________ __________ _______ __________ __________ _________ ____ ________.
____ _________ ______ ____ _________ ___ ___ ____.
____ ________ _____ ___ _________ _________ _____ __________ ____ ______ _______.
_______ ______ _______ _____ _______ _________ ________ _________ _______ ____.
________ ____ _______ _____ ________ __________ _____ ____ ____.
___ ___ ______ ________ _____ ______ _______ ___.
_____ __________ _____ ___ ____ ____ ________ _______.
_____ ______ _________ __________ _______.
____ ___ __________ ____ ____ __________ ______ ____ _______ _____ _______ ___.
_____ ____ _________ ____ _________ ____.
________ _________ _______ __________ _______ _______ ______ _____ _________ __________.
____ ______ ________ _______ _______.
_____.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write a small program that accepts to represent the following pattern:
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→