A
A
avp2018-07-16 15:00:43
Python
avp, 2018-07-16 15:00:43

How to prepare for the Python test on Upwork?

Tell me where to find a dump of new questions on the Python test on Upwork?
I must say right away that Google does not find questions.
Sample Questions

Which option in sqllite.connect() method avoids OperationalError and tells that the database file is
locked?
check same thread
check thread
check diff thread
check same threads


Regarding the code below, what is the correct statement ?
class Book:
def  init (self, isbn):
self.isbn = isbn
isbn = "test1
book = Book(12345)
book.isbn will contain the value 12345.
book.isbn will contain the value ’test'.
This program won't run the Book class expects a string instead of integer.
None of the above is correct.

Which of the following is a correct way to add a new element to a list?
list.add(l)
list.addValue(l)
list.append(l)
list.addltem(l)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya S, 2018-07-16
@Stalinko

Decide honestly. Decide badly - you can not show anyone. You can also reschedule later after a certain period.
By and large, all of us for these tests .... well, you understand. So no need to bother. Better develop your skills and work more;)

P
Puma Thailand, 2018-07-16
@opium

If Google doesn't find it, it's nowhere.

T
tema_sun, 2018-07-16
@tema_sun

Just had fun with this today. Those questions were there too.
In general, the test is very easy. As a preparation, I can suggest keeping a tab with google and a running ipython at hand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question