>
Exams
>
Computer Science
>
Character String
>
which method is used to write multiple strings of
Question:
Which method is used to write multiple strings of a file ?
CUET (UG) - 2023
CUET (UG)
Updated On:
Sep 23, 2024
write()
writelines()
writeline()
writes()
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
The correct option is (B) :writelines().
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Character String
The postfix for a string is ABC + − D*, the actual string will be :
CUET (UG) - 2023
Programming and Data Structure
Character String
View Solution
Which of the following string does not belong to the set of strings represented by regular expression (a+b)* (ab+bba)
CUET (PG) - 2023
Programming and Data Structure
Character String
View Solution
View All
Questions Asked in CUET exam
Pointing to a man, Rani says, "He is the son of my mother's only daughter.” How is the man related to Rani?
CUET (UG) - 2025
Blood Relations
View Solution
Statement: All apples are fruits. Some fruits are bananas.
Conclusion I: All apples are bananas.
Conclusion II: Some fruits are not bananas.
Choose the correct option:
CUET (UG) - 2025
Logical Reasoning
View Solution
Identify the literary device in the sentence: "Time crawled as she waited for the results."
CUET (UG) - 2025
Figure of speech/Literary Devices
View Solution
A person walks 10 m North, then turns right and walks 5 m, then turns right again and walks 10 m. What direction is he facing now?
CUET (UG) - 2025
Direction sense
View Solution
A shopkeeper increases the price of an article by 25% and then offers a discount of 20%. What is the net percentage change in the price?
CUET (UG) - 2025
Percentage
View Solution
View More Questions