import random
import math

def randomword():
    words = ['Hello', 'Goodbye', '#$#!@&']
    randword = random.choice(words)
    return randword

randword = randomword()

#print(words)     # can't be accessed because it is local to function
#print(randword) 
print(randword)
