Pythonのお勉強 Part62at TECH
Pythonのお勉強 Part62 - 暇つぶし2ch190:デフォルトの名無しさん
20/05/07 23:37:05.12 Lnek/XJg.net
>>188
`in`を使いましょう
The find() method should be used only if you need to know the position of sub. To check if sub is a substring or not, use the in operator:
ついでにRubyの例はoutputsの配列が
めちゃくちゃでかくなる可能性も考慮されてる


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch