Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
what will be the output of following python code print(‘ab12’.isalnum())
Home
Education
what will be the output of following python code...
asked
Dec 24, 2021
in
Education
by
JackTerrance
what will be the output of following python code print(‘ab12’.isalnum()) Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 24, 2021
by
JackTerrance
Best answer
Answer: True The string has only letters and digits. Explanation: mark as brianliest
Related questions
0
votes
Q: b) What will be the output of the following Python code?
b) What will be the output of the following Python code? print(‘ab12’.isalnum()) Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output of following python code?flowers =[‘rose’, ‘lotus’,”lily’ for x in flowers:print’flowers name:, x
What will be the output of following python code? flowers =[ rose', lotus', lily' for x in flowers: ... x plsss give write answer Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: what will be the output of following python code?
what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: what will be the output of following python code?
what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] Select the correct answer from above options...
asked
Dec 18, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: (a) What will be the output of the following Python code?from math import factorial
(a) What will be the output of the following Python code? from math import factorial print (math.factorial (5) ... : print(factorial(5) Select the correct answer from above options...
asked
Dec 17, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output of the following Python code? >>>list1 = [1, 3] >>>list2 = list1 >>>list1[0] = 4 >>>print(list2)
What will be the output of the following Python code? >>>list1 = [1, 3] >>>list2 = list1 >>>list1[0] = 4 >>>print(list2) a) [1, 4] b) [1, 3, 4] c) [4, 3] d) [1, 3]...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python code? print('*', "abcde".center(6), '*', sep='')
What will be the output of the following Python code? print('*', "abcde".center(6), '*', sep='') a) * abcde * b) *abcde * c) * abcde* d) * abcde *...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python code? print("abc. DEF".capitalize())
What will be the output of the following Python code? print("abc. DEF".capitalize()) a) Abc. def b) abc. def c) Abc. Def d) ABC. DEF...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python code? class tester: def __init__(self, id): self.id = str(id) id="224" >>>temp = tester(12) >>>print(temp.id)
What will be the output of the following Python code? class tester: def __init__(self, id): self.id = str(id) id="224" >>>temp ... >>>print(temp.id) a) 12 b) 224 c) None d) Error...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python code? print("abc. DEF".capitalize())
What will be the output of the following Python code? print("abc. DEF".capitalize()) a) Abc. def b) abc. def c) Abc. Def d) ABC. DEF...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python code? class tester: def __init__(self, id): self.id = str(id) id="224" >>>temp = tester(12) >>>print(temp.id)
What will be the output of the following Python code? class tester: def __init__(self, id): self.id = str(id) id="224" >>>temp ... >>>print(temp.id) a) 12 b) 224 c) None d) Error...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-question-answers
0
votes
Q: What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)
What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i) a) 4 3 2 1 b) error c) 1 2 3 4 d) none of the mentioned...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: What will be the output of the following Python code? x = 'abcd' for i in x: print(i.upper())
What will be the output of the following Python code? x = 'abcd' for i in x: print(i.upper()) a)a B C D b) a b c d c) error d)A B C D...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-question-answers
0
votes
Q: – What will be the output of the following C code? #include int main() { int i = 97, *p=&i; foo(&p);
- What will be the output of the following C code? #include int main() { int i = 97, *p=&i; foo( ... (D) Segmentation fault/code crash Select the correct answer from above options...
asked
Dec 24, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: what will be the output for the following code fragment: first=2second=3third=first*second
what will be the output for the following code fragment: first=2 second=3 third=first*second print(first,second ... third,second,first) Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...