>
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
Find the ratio of de-Broglie wavelengths of deuteron having energy E and \(\alpha\)-particle having energy 2E :
CUET (UG) - 2026
Dual nature of radiation and matter
View Solution
Which one of the following guides the entry of the pollen tube into the embryo sac?
CUET (UG) - 2025
Plant Evolution
View Solution
A man spends 80% of his income. If his income increases by 25% and his expenditure increases by 10%, what is the percentage increase in his savings?
CUET (UG) - 2025
Percentages
View Solution
The value of van't Hoff factor, i, for CH₃COOH solution in water will be
CUET (UG) - 2025
General Chemistry
View Solution
In a series combination of capacitors connected across a battery
CUET (UG) - 2025
Photoelectric Effect
View Solution
View More Questions