Open Shalu42 opened 7 months ago
Team Name: Lil techies File Name: python 2 Line Number: [1, 2] Bug Description: The items array is declared globally but the program needs a locally declared array to provide the proper output. Solution: def add_item(item): items=[] items.append(item) return items
print(add_item(1)) print(add_item(2))
Bug Hunt Evaluation: Answer: ((4,),) Correctness: 0/1 Points: 0/100
b"U\x85\xc0\xba\xc4\xdd\xfe\x0c$o2i/\xd0\xa9\x00\xaf\xfe\xeb\x16\xd0:.\xe8IYP\x1d\x14\x89\xefB\xf8\xe9\xf8\xc9\x96x\xef\xe7\x82~\xde\xb3\xda\x80?|\xbc\x19/\x97\xf67\xd8\x8ee\xd6P\xd3|(7^2\x1ef\x8cC\x90 |\x05{\x8d<\xee\x8b\xb5\x96\xc6\xac\xceQ\x1cE\x8aA#4|&\xd6\x11\xa0\x9b\x11,0\xca\xf68\x99\x1b\x01\x86\xe6\xcc\xf8\x99\x9d\x0e\x15\x87D\xa9$\xddU\xf1Z\xc2g\xb4'S\x11\xc6"
b'gAAAAABl9Sn0tX5AnM1tuM3SZHJPVQ1_yKWpF1BE87Gge3VOH5AZstsd7P6BXg_FX3iOIXeBfPGRWR5o-f6y4LBKPrY8Fhc_Ph-MZROf29T8IvShsFAHJoeo9nulq-X_KkfOcJvNUlKHBbkdUrnPbCDmRgMwerhnebRaxSvBCqzdsj7h7jLX2yTvW16C6UQFr8F--JYm1TfsRz9SWD30E2bkkFHyUhFYlcmYdTmNtWYF-OLhejufb5BAvinR4ldlr1-9ZTm30v09Gouz32Sz4la6L47CEKOGM-T6XPxoboe_cxAJQJQuwmu6Os7TFsk4ZHGMaK2SWpStu-1G2fWJxBiG9PW09HdZsbmKYwgQc_8moH2xIXG2fBTzDCcJv2RKnVkHmbl1kRdlr33VGWb4EYsShtzvqx4V47TZV7Vnx68dI1TL--yGoIlB1w_vLxph8fB51cs3D4lNzkPB3MQM-vLIn_U6N2CAIL0_y7GZjzkJXiLKzLTo92133IWEL6p8vn_SIoWHakAlow89RzF8v6l6Nrlwo5IjUipEhhQFMQz2If-34NgcmWw='