Python में date और time को specific format में string में बदलने के लिए कौन सा method प्रयोग होता है?
In Python, which method is used to format date and time as a string?
A
strtime
B
strftime
C
timeformat
D
None
Explanation
✅ Correct Answer: B) strftime
✔ Used to: Convert date/time to a formatted string in Python.
Correct Answer: B) strftime