I wrote a function that printed out the min & max of the numbers in the list, but when I switched print with return the code doesn't seem to print a thing, so I ran the same code with the return statement in the python console and it work, I want to know why the code works with the python console in terminal and why it doesn't when I run the script as python3 Code.py
#!/usr/bin/env python3.5
#
#
def Ehlo():
    nums = [1,5,2,4,6,12,8,9,3]
    return (min(nums))
    #return (max(nums))
Ehlo()
 
     
     
    