For this Question: Given an array A of size N. You need to find the root mean square (RMS) of the array i. e you first need to square all values of array and take its mean. Then you need to return the square root of mean. Print the answer with precision upto 6 decimal places.The first line contains an integer N - the size of the array
The next line contains N space-separated integers - the elements of the array.

<b>Constraints:</b>
1 <= N <= 100
1 <= Ai <= 100Print the RMS value of the array.Sample Input 1:
4
1 2 3 4

Output:
2.738613

Sample Input 2:
2 
7 13

Output:
10.440307

<b>Explanation 1:</b>
Sum of squares = 1 + 4 + 9 + 16 = 30
Mean = 30 / 4 = 7.5
Taking a square root of 7.5 gives 2.738613

</b>Explanation 2:</b>
Sum of squares = 49 + 169 = 218
Mean = 218 / 2 = 109
Taking the square root of 109 gives 10.440307, I have written this Solution Code: try:
    n=int(input())
    a=[int(x)**2 for x in input().split()]
    s=sum(a)/n
    r=s**(1/2)
    print('%.6f' % r)
except EOFError as e:
    pass, In this Programming Language: Python, Now tell me if this Code is compilable or not?