filename = 'competitive programming.txt'

with open(filename, 'w') as file_object:
    file_object.write("I love code competition.")
    file_object.write("I want to use Python to win Top coder, Google code Jam, Codechef smackdown.")
