For this Question: Sara loves patterns, today she encounters an interesting pattern and wants to write a code that can print the pattern of a given height N. As Sara is weak in programming help her to code it.

The pattern for height 6:-

0 4 8 12 16 20 
6 10 14 18 22 26 
12 16 20 24 28 32 
18 22 26 30 34 38 
24 28 32 36 40 44 
30 34 38 42 46 50<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>Pattern()</b> that takes integer N as an argument.

Constraints:-
1 <= N <= 100Print the given pattern.Sample Input:-
3

Sample Output:-
0 4 8
6 10 14
12 16 20

Sample Input:-
5

Sample Output:-
0 4 8 12 16 
6 10 14 18 22 
12 16 20 24 28 
18 22 26 30 34 
24 28 32 36 40, I have written this Solution Code: def Pattern(N):
    x=0
    for i in range (0,N):
        for j in range (0,N):
            print(x+4*j,end=' ')
        print()
        x = x+6

, In this Programming Language: Python, Now tell me if this Code is compilable or not?