I'm new at coding in python and I was wondering if there is some way I can transcript this code in C to python:
for (K=1; K<3; K++)
for (I=0; I<3; I++)
for (J=0; J<7; J++){
printf("Year: %d\tProvince: %d\tMonth: %d: ", K, I, J);
scanf("%f", &A[I][J][K]);
}
This is all I have done so far, the only thing missing is how to input data in the three dimensional array
for k in range(1,3):
for i in range(1,3):
for j in range(1,7):
print("Year: " + str(k) + " Province: " + str(i) + " Month: " + str(j) + ": ")