Answer to Question #3381 in Python for mukunda

Question #3381
Add my contact number “sunson 9988998899” to above “my_contacts.txt” file.
1
Expert's answer
2011-08-02T14:08:26-0400
fcontact = open ("my_contacts.txt", "a")
fcontact.write ("sunson 9988998899\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