here stem function shows error saying that stem required one positional argument in loop as in question?
from nltk.stem import PorterStemmer as ps
text='my name is pythonly and looking for a pythonian group to be formed by me iteratively'
words = word_tokenize(text)
for word in words:
print(ps.stem(word))
You need to instantiate a PorterStemmer object