page-banner
Chapter-6 (Part-2) Python Function
Q46.
निम्नलिखित कथन क्या करते हैं?<break-line><break-line>What does the following statements do?<pre><code>from datetime import * print(datetime.today().strftime('%B'))</code></pre>
A. Displays the full weekday name
B. Displays the full month name
C. Displays the abbreviated day name
D. Displays the abbreviated month name
View Answer
Q47.
निम्नलिखित कथन क्या करते हैं?<break-line><break-line>What does the following statements do?<pre><code>from datetime import * print(datetime.today().strftime('%d'))</code></pre>
A. Displays the hour number of 12-hour clock
B. Displays the date and time appropriate for locale
C. Displays the day of the month number (from 01 to 31)
D. Displays the microsecond number (from 0 to 999999)
View Answer
Q48.
निम्नलिखित स्टेटमेंट का आउटपुट क्या होगा ?<break-line><break-line>What will be the output of the following statements?<pre><code>x = 'Python' print(x.capitalize())</code></pre>
A. Python
B. Python.capitalize
C. PYTHON
D. python
View Answer
Q49.
निम्नलिखित स्टेटमेंट का आउटपुट क्या होगा ?<break-line><break-line>What will be the output of the following statements?<pre><code>x = 'python job interview' print(x.title())</code></pre>
A. python job interview
B. Python job interview
C. Python Job Interview
D. Python job Interview
View Answer
Q50.
निम्नलिखित स्टेटमेंट का आउटपुट क्या होगा ?<break-line><break-line>What will be the output of the following statements?<pre><code>x = 'python jobs' print(x.upper())</code></pre>
A. PYTHON JOBS
B. Python jobs
C. Python Jobs
D. python jobs
View Answer