x= [1,2,3,4,3,2,1] x=list(dict.fromkeys(x)) x.pop(0) print(x) ————————— A- [1,2,3,4,3,2,1] B- [2,3,4,3,2] C- [2,3,4] D- [] #Python_quiz
3
6
8
1
0
이 트윗은 더 이상 사용할 수 없습니다.
dict.fromkeys(x) تقوم بحذف العناصر المتكررة pop(0) تقوم بحذف اول عنصر
0
1
0
0
0
United States 트렌드
- 1. Steelers 62.8K posts
- 2. Tucker Kraft 10.4K posts
- 3. Packers 46.9K posts
- 4. #GoPackGo 7,868 posts
- 5. Nixon 13.5K posts
- 6. Tomlin 5,411 posts
- 7. McManus 3,455 posts
- 8. Brian Kelly 54.2K posts
- 9. #HereWeGo 6,610 posts
- 10. Rodgers 31.2K posts
- 11. Jordan Love 6,371 posts
- 12. #RHOP 7,906 posts
- 13. #WelcomeToDerry 2,036 posts
- 14. Boswell 2,967 posts
- 15. Green Bay 8,823 posts
- 16. Zeus 17.1K posts
- 17. #BaddiesAfricaReunion 3,944 posts
- 18. Teryl Austin N/A
- 19. Cowboys 39.8K posts
- 20. Austin Reaves 6,201 posts
Loading...
Something went wrong.
Something went wrong.