1.

36. (l) x=5.6y=int(x)print(y)what is the output produced by the above code.(ii) Write the syntax for opening a file in append mode.(i)Which function is used for writing in a csvfile.(iv) Following set of commands is executed in shell, what will be the output?»>> a="param">>>b="raj">>>print(a..join(b))(v)Following set of commands is executed in shell, what will be the output?print(" Today is a great day" split()

Answer»

Answer:

what is the output produced by the above code.

(ii) Write the syntax for opening a file in APPEND mode.

(i)

Which function is used for writing in a csvfile.

(IV) FOLLOWING set of commands is executed in shell, what will be the output?

»>> a="param"

>>>b="raj"

>>>print(a..join(b))

(v)Following set of commands is executed in shell, what will be the output?

print(" TODAY is a great day" SPLIT()



Discussion

No Comment Found