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)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now