【发布时间】:2020-05-25 06:49:48
【问题描述】:
通过将 rhyme_lyric 从 start_index 切片到 end_index,将 sub_lyric 分配给 'cow'。给定程序的示例输出:
牛
start_index = 4
end_index = 7
rhyme_lyric = 'The cow jumped over the moon.'
sub_lyric = rhyme_lyric''' Your solution goes here '''
print(sub_lyric)
【问题讨论】:
-
不清楚您需要什么帮助。 SO 不是为 OP 提供完整的解决方案。它旨在帮助您了解遇到的困难。
标签: python-3.x computer-science