Logical Python(@logicalpython) 's Twitter Profile Photo

Python Programming Answer is 10.

Reason:

โžก๏ธlen(x) returns the length (number of elements) of the list x, which is 6.

โžก๏ธlen(y) returns the number of elements in the set y, which is 4 (please note unique elements only for set).

So 6+4 is 10.

@pythoncodequs Answer is 10.

Reason:

โžก๏ธlen(x) returns the length (number of elements) of the list x, which is 6.

โžก๏ธlen(y) returns the number of elements in the set y, which is 4 (please note unique elements only for set).

So 6+4 is 10.
account_circle
Logical Python(@logicalpython) 's Twitter Profile Photo

Python Programming Answer is 3.
Simple, but need to go step by step:

Steps:

D[D[D[str(D[1])]]]:

1. str(D[1]) evaluates to '1'.
2. D['1'] is 2.
3. D[2] is '2'.
4. D['2'] is 3.

@pythoncodequs Answer is 3.
Simple, but need to go step by step:

Steps:

D[D[D[str(D[1])]]]:

1. str(D[1]) evaluates to '1'.
2. D['1'] is 2.
3. D[2] is '2'.
4. D['2'] is 3.
account_circle
ู‹ู‹(@tweetsperdidos) 's Twitter Profile Photo

Python Programming ๐•‹๐•™๐•– ๐•Š๐•ฅ๐•š๐•Ÿ๐•˜๐•ช ๐”ป๐•–๐•ง๐•–๐•๐• ๐•ก๐•–๐•ฃ
๐Ÿ˜…
A single loop:

@pythoncodequs ๐•‹๐•™๐•– ๐•Š๐•ฅ๐•š๐•Ÿ๐•˜๐•ช ๐”ป๐•–๐•ง๐•–๐•๐• ๐•ก๐•–๐•ฃ
๐Ÿ˜…
A single loop:
account_circle
Canada-Y2kยฎ(@adesemoyedaniel) 's Twitter Profile Photo

Python Programming The answer is Hello!

Meaning the string length of 5. When I ran a string length of 11 the output is Hellow world๐Ÿ‘๐Ÿ‘๐Ÿ‘

@pythoncodequs The answer is Hello!

Meaning the string length of 5. When I ran a string length of 11 the output is Hellow world๐Ÿ‘๐Ÿ‘๐Ÿ‘
account_circle