Computer Science, asked by academyfreelearning, 2 months ago

WAP in python to asset a paragraph from the end user and converts it into text file​

Answers

Answered by seema1612009
0

Answer:

I don't understand

Explanation:

explain it dear

Answered by llFairyHotll
1

Answer:

file = open("text.txt", "w")

file.write("Your text goes here")

file.close()

'r' open for reading (default)

'w' open for writing, truncating the file first

'x' open for exclusive creation, failing if the file already exists

'a' open for writing, appending to the end of the file if it

Explanation:

Hope it's helpful↑(◍•ᴗ•◍)❤࿐

Similar questions