Python の宿題ここで答えます Part 1
at TECH
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