Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/289.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 伪码定位仪_Python_Pseudocode - Fatal编程技术网

Python 伪码定位仪

Python 伪码定位仪,python,pseudocode,Python,Pseudocode,我是python的完全新手,正在尝试伪代码,我知道伪代码不是一种语言,如其他问题所示,但我无法掌握如何简化代码以使其正常工作,特别是在我花了大量时间编写此代码之后 因此,如果可能的话,有人能告诉我如何伪代码这段代码,因为我非常困惑:),提前谢谢。伪代码真的取决于人。我通常不会编写太多的伪代码,除非尝试在白板上写东西 Setup alphabet Find a valid character/word Get input and test each character/word to se

我是python的完全新手,正在尝试伪代码,我知道伪代码不是一种语言,如其他问题所示,但我无法掌握如何简化代码以使其正常工作,特别是在我花了大量时间编写此代码之后


因此,如果可能的话,有人能告诉我如何伪代码这段代码,因为我非常困惑:),提前谢谢。

伪代码真的取决于人。我通常不会编写太多的伪代码,除非尝试在白板上写东西

Setup alphabet
Find a valid character/word
    Get input and test each character/word to see if valid
Check if word is in the sentence
    Give the position

为什么会有人投票关闭这个:)他想要伪代码,因为它是一个标签!