86K subscribers
90 photos
13 videos
6 files
164 links
Python.hub
Download Telegram
>>> list1 = [11, 2, 23]
>>> list2 = [2, 11, 23]
>>> print(list1 == list2)
Anonymous Quiz
14%
Error
31%
True
52%
False
3%
None of the above
Turtle Clock.txt
3.6 KB
Code file for Clock program
>>> def unpack(p, q, r, s):
print(p+s)
>>> a = [1, 2, 3, 4] >>> unpack(a)
Anonymous Quiz
9%
7
46%
5
35%
Error
10%
None of the above
>>> x = ['python', 'hub']
>>> x.sort(key = len)
>>> print(x)
Anonymous Quiz
42%
['hub', 'python']
30%
['python', 'hub']
20%
Error
8%
None of the above