Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Indonesian
Login
Signup
Contact
Login
Home
What will be the value of x? x = ~~~~19 print(x)
Question 1:
What will be the value of x?
x = ~~~~19
print(x)
A.
23
B.
-23
C.
19
D.
-20
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
"I guess my new boyfriend does have some faults. He got angry last night because I talked to my parents for five*^*minutes on the telephone � he complained because he said I was ignoring him. That is the first time he got angry*^*around me," Vanessa said. Emma replied, "Did you expect him to be perfect? Never a rose without a ......., you*^*know."*^*
"Get out of here, Jed! First you show up drunk, then you hit on my wife and then you insult my son. Get out of*^*here and don't come back! Never darken my ....... again!" An irate Matt told him.
"Boy, does this town need some ....... blood! The businesses and houses all need a fresh coat of paint and the*^*style is out-of-date it is at least fifty years old!" Linda said to Chris.
"After the car crash, I felt invigorated. Everything seems new and interesting. I feel like I have a new ....... on*^*life," George told Melissa.
The new manager started off his first speech to the staff with, "There is a new ....... in town!" The staff knew*^*that it was a lame attempt at humor and hoped that the speech would be quick.
"Within a New York ......., our business went from broke to profitable thanks to our biggest client, Mr. Wilson,"*^*Nate said to the employees.