CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[sanjaypkgandanm.eee2021] python 2 #8

Open Karthiikeyan opened 8 months ago

Karthiikeyan commented 8 months ago

b"(\x9c\x07\xbc\xee\xe2\x9d\xc1\x9c\xf7\x02\xae\x84\xa7\x9d\x8c=\xc4\x1b\xbb\xd1\x04*kS\xd4\xf4,\xda\xefn\x80\x02\x06J\xd5\x05\x17\xbfv\x913;\xd5zx\x9b\n\xca\xbb\xcf\xd2\xfd\xce\x98\x1a\x9c\xf3\x8c\x08`\x07\xe91\x80\x17'\xfb#\x80\x03\x7f\xdc\xc5\xc9j\xa1(?\xd5\xe7\xd7\xb8\x9f\xe2\xa2\x88p\x9e\xc7\x8c\xfc\x9fJ\xac\xfa\xde\xcf]\xcc\x04J\x81^\x15%\x14\xe1\x1d\x84S\x17\xa6W\x98\x18\xc41{>\x88\x9ek\x15u\xd4\x84\xbf"

b'gAAAAABl9RrXFrFoz5w6whZfKdJxeCJyYg1bYRqG9tKby7oL46KmpQhrkCsoMeHzIlJ6AU6BJGFPCO3Xjk5vLfsA_N17K8jZ48DmPra_y_rsQ5P6AtllWygC-fQoLuP2rL19FUwlLw0RHduLB9nHp2MQJuKsNvIcMSyHI35husPH2wtDQ7CLacLSHTkcSGKgaU0gFbqJA_D5WzAwVOTSagN97Uy7W6xX7ZU7DYISaNnp1onq2nr1HKVTMpTGZIMYHDkUEKgwz75kBwTp5wvQp_GvB9SApkxZHcuSe1n_trrc96uuW8icerw05ja9PnszeMgFumEnxDwZsszeVxLpfbQFlIw1UZk9ElC30Ia8n3r1asbHMjU44Kdx_spD5JriLYqQqC6WceetoMZKOJ4Cz27uZ579IXyMnOOWp_SgGbZeotuWYGg_xKdd53pzoJgnC_z1d0Mk5Xr-iL5WmoSYo7UyyZKULAPKmHTxgNB7mWboEIoRo-BnW2_0a2D0DtcflcxRwEgv2zt-x_a7bGuDE_Jewliq5_hfv1weNc8y0J9JSgfo31ErQHIavAK2Fo-B45vz6oFIjFNJfPBtrCL8G1YGxfqF4UOPn7XdehW4XU5UCsnHhAB5NPshNmsjJHiErv8iG1fg9TQctVee5qkLstomFeR1d6a0sQUEZociAkymgpVuFvv3YRUPuciuuWAVe5tbAMfi1aGt'

bughunt-bot[bot] commented 8 months ago

Team Name: sanjaypkgandanm.eee2021 File Name: python 2 Line Number: [5] Bug Description: List declaration is global Solution: Declare the list in local

program to print an input as the only member of an array everytime the function is called

input- 1 -> output- [1], input- 2 -> output- [2]

def add_item(item): items = [] items.append(item) return items

print(add_item(1)) print(add_item(2))

bughunt-bot[bot] commented 8 months ago

Bug Hunt Evaluation: Answer: ((4,),) Correctness: 0/1 Points: 0/100