Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
クラスの課題の座席表を作成する必要があり、各生徒の欠席数も追加する必要があります。不在を追加するにはどうすればよいですか? これまでのところ、私はこれを持っています...
row1 = ['John', 'Jack', 'James'] row2 = ['Javier', 'Jessica', 'Jane', 'Jose'] row3 = ['Josh', 'Jon', 'Jess'] classroom = [row1, row2, row3] print (classroom)
生徒の欠席を説明するマップを作成します。
absences = {'John': 1, 'Jack': 30, 'James': 0, 'Javier': 0, 'Jessica': 3, ...}