Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Indonesian
Login
Signup
Contact
Login
Home
What is output of following − print('any'.encode())
Question 1:
What is output of following −
print('any'.encode())
A.
‘any’
B.
‘yan’
C.
b’any’
D.
x’any’
These questions are from this test. Would you like to take a practice test?
Python Quiz 4 | Englishfreetest.com
20 minutes
10 questions
Do test
Some questions from the same exam
What is the out of the code?
def rev_func(x,length):
print(x[length-1],end='' '') rev_func(x,length-1)
x=[11, 12, 13, 14, 15]
rev_func(x,5)
Which function can be used on the file to display a dialog for saving a file?
Select the valid code to bind a canvas with a key event p −
Which is invalid in python for z = 5 ?
What is the value of a?
a= 4*4-4+4/4
What will be the value of x?
x = ~~~~19
print(x)
What will be the output of the code?
z = ''Best website is Tutorials Point''
z.find(''Tutorials'')
How can we generate random numbers in python using methods?
What is output of following −
print('any'.encode())
Which of the following is correct about Python?
Some other questions you may be interested in
You are more pragmatic than … .
He’s more intelligence than … .
They’re more careful when driving than … .
She’s more talented when singing than … .
Your firm is more profitable than … .
His marketing strategy is more interesting than … .