>
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
A and B together can complete a task in 10 days. A alone can finish it in 15 days. In how many days can B alone finish the work?
CUET (UG) - 2025
Time and Work
View Solution
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
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 and B can complete a task in the ratio 3:2. If together they complete the task in 20 days, how long will A alone take?
CUET (UG) - 2025
Time and Work
View Solution
In a certain code, WATER is written as YCVGT. How is HOUSE written?
CUET (UG) - 2025
Coding Decoding
View Solution
View More Questions