Python の宿題ここで答えます Part 1at TECH
Python の宿題ここで答えます Part 1 - 暇つぶし2ch688: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