TypeError: 'tuple' object does not support item assignment

前端 未结 4 1655
名媛妹妹
名媛妹妹 2021-01-24 06:20

I\'m trying to write a short program which allows the user to input a list of numbers into an input() function, and then using the add_25 function add 25 to each item in a list.

4条回答
  •  长发绾君心
    2021-01-24 07:20

    def test_tuples_of_one_look_peculiar(self):
        self.assertEqual( __,(1).__class__)
        self.assertEqual(__, (1,).__class__)
    

提交回复
热议问题