I am new to python and programming in general and I was trying to make a hangman game. I downloaded a dictionary text file and opened it in pycharm and I applied the random.choice() function on it and it only printed a letter of a random word in the .txt file:
import random
f = open ("/home/ar/Downloads/sowpods.txt")
sowpods = f.read()
sowpods = random.choice(sowpods)
print(sowpods)