HTML

Patterns
Ex-1:
Output:

Ex-2:
Output:

Ex-3:

Output:

Ex-4:
Output:

Ex-5:
Output: