>
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
If 1st March 2023 was a Wednesday, what day of the week was 1st March 2024?
CUET (UG) - 2025
Clock and Calendar
View Solution
Which region was known as the ‘nursery of the Bengal Army’ as many sepoys were recruited from there?
CUET (UG) - 2025
British Empire
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
In a certain code, WATER is written as YCVGT. How is HOUSE written?
CUET (UG) - 2025
Coding Decoding
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
View More Questions