文字游戏问题 [英] wordplay problem
本文介绍了文字游戏问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我想创建一个脚本,用所有可能的元音组合替换每个句号(代表元音的位置)。
Hi
I want to create a script that substitutes each full stop character (which represents the placement of a vowel) with all possible combinations of vowels.
展开 | 选择 < span class =codeDivider> | Wrap | 行号
推荐答案
您可能希望以
展开 | 选择 | Wrap | 行号
你可能想要以"开头
You may want to start with"
展开 | 选择 | Wrap | 行号
当你超越count = 2时它变得更加棘手,但这可能有助于你开始:
It gets trickier as you go beyond count = 2, but this may help get you started:
展开 | 选择 | Wrap | 行号
这篇关于文字游戏问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文