Python の宿題ここで答えます Part 1 at TECH
[2ch|▼Menu]
688:685
08/10/29 13:06:58
>>686
今やってるチャプターの宿題なんですけど、
このチャプターがストリングやリストについてで、
You may assume that the string entered by the user follows the specified format.
One of the functions in your program should accept a number representing a month and
return the string representation of that month (for ex. getMonthString(3) should return ‘March’).
Instead of using an if-elif-else statement, create a list of strings and use indexing.
ってことなんでリストを使うのかと…。


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

5376日前に更新/195 KB
担当:undef