Fasta Converter from Specific input

This script is solely meant to convert specific read files to
fasta format files.
The file format shouldl specifically be the following:
""".upper()
print """
INPUT
sequence_name sequence
ex.
peg239 aagttaggggaagatacgtacgctctatagactctatgacgcgcta

OUTPUT
>peg239
aagttaggggaagatacgtacgctctatagactctatgacgcgcta