Jul-07-2022, 09:45 PM
if you wish to pass the entire array, just use array name:
and access as shown (i show a different name in the function definition, just to show you can do that, it could be same name or not, your choice)
example:
and access as shown (i show a different name in the function definition, just to show you can do that, it could be same name or not, your choice)
example:
def show_array(myarray): print(myarray) show_array(scores)