I am confused about the below given code in Python where a function has been called before its definition. Is it possible? Is it because the function does not return a value?
from Circle import Circle
def main():
myCircle = Circle()
n = 5
printAreas(myCircle, n) #The function is called here
def printAreas(c, times):
xxxx
xxxx
main()