Q:

Write a program to create a file with the name “KSU.txt” and add three things which you like in the KSU

0

Write a program to create a file with the name “KSU.txt” and add three things which you like in the KSU

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

import os

os.chdir("c:/ahmedfiles")
myfile=open("KSU.txt","w+")
myfile.write("i like classes in ksu, and like the instructors, and like my colleages")
myfile.close()

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Write a python program to display contents of a fi... >>