Answer to Question #3380 in Python for mukunda

Question #3380
Write a python program to create “my_contacts.txt” file and write into all your friends contact numbers with their names and save that file.
1
Expert's answer
2011-08-02T14:07:56-0400
fcontact = open ("my_contacts.txt", "w")
fcontact.write ("michael 34234234234\n")
fcontact.write ("rahmanan 23453654564\n")
fcontact.write ("budukozel 67854654623\n")
fcontact.close()

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS