x=[1,2,3,4,5,6] x.clear() x.append(7) print(x) ———————— A- [1,2,3,4,5,7] B- [7,2,3,4,5,6] D- [7] C- None #Python_quiz

Python_quiz's tweet image. x=[1,2,3,4,5,6]
x.clear()
x.append(7)
print(x)

————————
A- [1,2,3,4,5,7]
B- [7,2,3,4,5,6]
D- [7]
C- None

#Python_quiz

The answer is correct. I confused C and D


이 트윗은 더 이상 사용할 수 없습니다.

The answer is correct. I confused C and D


الجواب [7] لان x.clear مسحت كل ارقام الليست الموجوده في القائمة وبعد كذا x.append (7) اضافة الرقم 7 يارب يكون تحليلي صح 😬


United States 트렌드
Loading...

Something went wrong.


Something went wrong.