Write a Python code that accepts an input string and returns a list of its capitalized words.
"python is powerful"
string = "python is powerful"
list_words = string.split()
output = [i.capitalize() for i in list_words]