10) write the output of the following program txt=input(" enter your name") print(txt) *
Answers
Answered by
2
bhoola to nhi...hostel wapas jaan hai...and writing work jyaada hai...is liye offine rehta hoon aaj kal...and 23rd feb se totally off rahunga....till october maybe...i mean winter vacation....
anyway...happy valentine's week...single ho !?
koi baat nhi...
Gandhi jayanti thodi na gandhiji ke saath manate hai....
single hi manalo valentine week...hehe....
take care...taata...
Answered by
8
Answer:
python script:
total = 0
for num in mylist:
total = total + num
average = total*1.0/len(mylist)
outfile = open("average.txt","w")
for num in mylist:
outfile.write(str(num) + '\n')
outfile.write("average: " + str(average))
outfile.close()
print (line 1"):
(.. your name here..)
Similar questions