Publicité
Write a python program that opens the career-txt file that is included.docx
Write a python program that opens the career-txt file that is included.docx
Prochain SlideShare
Write a SIMPLE java program to print out the numbers from 100 to 1- wi.docxWrite a SIMPLE java program to print out the numbers from 100 to 1- wi.docx
Chargement dans ... 3
1 sur 2
Publicité

Contenu connexe

Plus de drosa1(20)

Publicité

Write a python program that opens the career-txt file that is included.docx

  1. Write a python program that opens the career.txt file that is included below, and then appends one more career onto the file. f = open("output", "w") file = open("careers.txt", "w") #writing five careers file.write("teacher ") file.write("coach ") file.write("leadership ") file.write("technology career ") file.write("services career ") file.close() Solution Hi, friend please find my code. it is working fine. with open("careers.txt", "a") as file: #writing five careers file.write("teacher ") file.write("coach ") file.write("leadership ") file.write("technology career ") file.write("services career ") file.close()
Publicité