I have my first ever bit of code going alright and then I put some print() statements in at the bottom and they don't print and the system doesn't tell me why, just does a restart in the Python shell.
Stripped down this is essentially what I've got:
Stripped down this is essentially what I've got:
globallist = [] def function(n,m,p): return(n,m) else: return( function(n,m,p)) function(325000000,85000000000000,0)And all that works fine. Then these print statements don't:
print("Global list :",globallist) print(globallist[p-1]) print(globallist[p-2]) print(globallist[p-3]) print(globallist[p-4])What am I doing wrong here? I can find no mentions anywhere....