Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我必须做的屏幕截图。我真的很困惑,不知道从哪里开始。
有小费吗?
在 Pig Latin 中,如果单词以辅音开头,那么它会移动到字符串的末尾,然后添加“ay”,对吗?
假设我的输入是banana. 现在,切片:
banana
banana[0] == 'b' banana[1:] == 'anana'
现在试着从这里弄清楚:)