- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AI / Machine Learningโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- ควิซใหม่
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
ควิซ Python: #closures
ควิซเกี่ยวกับ #closures 4 ชุด พร้อมคำอธิบายทุกคำตอบ
4
ขอบเขตตัวแปรและ global
ยาก
ชื่อแบบ local และ global, nonlocal, closure และกับดัก UnboundLocalError
Python · ฟังก์ชัน
#scope#closures#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
Decorator
ยาก
อ่านและเขียน decorator ตั้งแต่ wrapper แบบง่ายไปจนถึง decorator ที่รับอาร์กิวเมนต์
Python · Python แบบ Pythonic
#decorators#closures#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Closures
ยาก
Understand how functions remember the variables around them, a favorite interview topic.
JavaScript · Functions & Scope
#closures#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
3
Closures in Loops
ยาก
The classic interview puzzle of functions created inside loops, with var, let and every fix in between.
JavaScript · JavaScript Interview Questions
#closures#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม