tuna.py
def fish():
    print('I am a tuna feesh!')


main.py
import tuna
import random

tuna.fish()

x = random.randrange(1, 1000)
print(x)