Notice: file_put_contents(): Write of 6423 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50

Warning: file_put_contents(): Only 8192 of 14615 bytes written, possibly out of free disk space in /var/www/tgoop/post.php on line 50
Machinelearning tests@Machinelearningtest P.169
MACHINELEARNINGTEST Telegram 169
Какой из вариантов выведет 4 9 ?
from itertools import islice
g = (i**2 for i in range(1, 4))
print(*g[1:3]) # 1
print(*islice(g, 1, 3)) # 2
print(*slice(g, 1, 3)) # 3
print(*g.slice(1, 3)) # 4



tgoop.com/Machinelearningtest/169
Create:
Last Update:

Какой из вариантов выведет 4 9 ?

from itertools import islice
g = (i**2 for i in range(1, 4))
print(*g[1:3]) # 1
print(*islice(g, 1, 3)) # 2
print(*slice(g, 1, 3)) # 3
print(*g.slice(1, 3)) # 4

BY Machinelearning tests


Share with your friend now:
tgoop.com/Machinelearningtest/169

View MORE
Open in Telegram


Telegram News

Date: |

In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. 1What is Telegram Channels? The initiatives announced by Perekopsky include monitoring the content in groups. According to the executive, posts identified as lacking context or as containing false information will be flagged as a potential source of disinformation. The content is then forwarded to Telegram's fact-checking channels for analysis and subsequent publication of verified information. Telegram Channels requirements & features Select “New Channel”
from us


Telegram Machinelearning tests
FROM American