ar
Feedback
Python в тестах

Python в тестах

الذهاب إلى القناة على Telegram
3 135
المشتركون
لا توجد بيانات24 ساعات
لا توجد بيانات7 أيام
-930 أيام
أرشيف المشاركات
What data type is mutable?
Anonymous voting

What will be the output? s = [1, 9, 5] print(s, s.sort())
Anonymous voting

Which operation is the highest priority among the listed?
Anonymous voting

Which of that can't the sorted function take as an argument?
Anonymous voting

What will be the output? print(0,5 * 8)
Anonymous voting

What will be an exception?
Anonymous voting

What will be the output? print(hex(int('A', 16) + 5))
Anonymous voting

What method exists to add to string?
Anonymous voting

What will be the output? print(complex(1.1) + 6j)
Anonymous voting

What will be the output? print(.1 + .1)
Anonymous voting

What methods does range have?
Anonymous voting

Which option to import is not suitable, if we want to run the following line: print(pi)
Anonymous voting

What will be the output? print(1e3)
Anonymous voting

What will be the output? print(type(iter([1, 2, 3])))
Anonymous voting

What will be the output? print(dir(int) == dir(5))
Anonymous voting

What will be the output? print(5 / float('inf'))
Anonymous voting

How many elements will be in the tuple tuple('aabc')
Anonymous voting

What will be the output? print(list([]))
Anonymous voting

Which method of lists inserts an element at a given position?
Anonymous voting

We have a list s = ['a', 'b']. How to get the string 'ab' from it?
Anonymous voting