Open SFARHAN23 opened 7 months ago
Team Name: BUGGER KING
File Name: python 3
Line Number: [5, 6, 7]
Bug Description: the code only checked first element is divisible by 2 or not
Solution: corrected by traversing from reverse with index and then checking if element at index is divisible by 2
then pop
for item in range(len(list),-1,-1):
if list[item]%2==0:
list.pop(item)
Bug Hunt Evaluation: Answer: ((10,),) Correctness: 0/1 Points: 0/100
b'W\x9e\xf0-l\xc8\x99O$F\xda\xa0\xc75M\xd3\x02\r\x83\xdfP\xe3\x10\x93\x05\x03BUH>\xb1\xd5h\xd32\x9f\x03FY\xa0\xcd\x0bC\x08P\x9c\xddZ>RB\xc8Y\x9c7\xd1H% J\x84M\xad\xf5\xbf!+\xed\x14h\xd7\xe6f\x88\xe5}G\xbf\x8bm\xdf\xbf\xa5\xbe\x07Q\xb6\xd5\x012\xea\x19\xee\xe5\x95k\x95\x82\x1c\xc4\x05w\x96\xb1m[\xbfN\x83\xbf\x10\xe0&\xd9}\xbf\5\xc0e\xcc\x1f\x03V\x0bs\x10\x84'
b'gAAAAABl9R5FF2v4155Hkkb_cq9_4g7__fipKVTGFexpQL48tD_S3r68fc-P2m9Ms4_9Bzzs95MI9mKryAJqlQPtlej-ggiaAKvQ2dTSRWhDnf9hjFYKn_pgkQ4MeMtZAOjQ6RpP24BURKL0parrIJD7yKp2jQCL5TLTAasiZYSQApGIP5vr9-3ltgcUcFIglQ98ZCgsZG8uf_dtc56k3be91bllrgSvBqm0Si9AT9h9Hqw57FfHadRCgQNSMmVRMrxmO0rkvlC2MqgEC8hFTNdnTHTcnmtWXxWQ1-QwbOTQR5ylkzvX_5BpDKphsLoaoBvYPqQH7CJ7pDujDv8xjGMsp8NLQ7IBH20qjzCPawuqciCSVDcJGYfEQhvg2Lv7mqe6Ngo6BcAiIWB76D9Um8bic_IxNayfRSbS1JwRT7WK_2kjn_k44BpI6IPjuO-wxnNYaMaicqAlnXVryTXtDDPnacqYP_SLgmQzbe08hP9x4P8zy-oTxAWgNDw4ohLxjuI--i9vKQvRybai11Se1X-jmDkUeZWWHstfS6oDKY1I7CZIY8yQ21YrkrZrhlTsSh9DjCXr4hXr03wCOOlMfvp_W-ie4W8B_Q=='