பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...
str1 = "PYnative"
print(str1[1:4], str1[:5], str1[4:], str1[0:-1], str1[:-1])
String & String Functions
Quiz
•
Computers
•
12th Grade
•
Hard
Gopalakrishnan Angamuthu
Used 34+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...
str1 = "PYnative"
print(str1[1:4], str1[:5], str1[4:], str1[0:-1], str1[:-1])
PYn PYnat ive PYnativ vitanYP
Yna PYnat tive PYnativ vitanYP
Yna PYnat tive PYnativ PYnativ
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...
str1 = "my isname isisis jameis isis bond";
sub = "is";
print(str1.count(sub, 4))
5
6
7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...
str1 = 'Welcome'
print (str1[:6] + ' PYnative')
Welcome PYnative
WelcomPYnative
Welcom PYnative
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"welcome to the beautiful world of python" என்ற சரத்தை "Welcome To The Beautiful World Of Python" என மாற்றப் பயன்படும் செயற்கூறு எது?
capitalize ()
title()
upper()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...
print("John" > "Jhon")
print("Emma" < "Emm")
True
False
False
True
True
True
False
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...
min('strings')
s
r
i
g
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...
print('san' 'thosh')
san thosh
san
santhosh
thosh
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University