- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AIโครงข่ายประสาท 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++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
พื้นฐาน Go
ตั้งแต่โปรแกรมแรกไปจนถึงตัวแปร ชนิดข้อมูล เงื่อนไข ลูป สตริง slice, map และฟังก์ชัน พร้อมโจทย์หลังจบแต่ละหัวข้อ
1 เริ่มต้น บทเรียน 5 บท
- บทเรียน โจทย์ 2 ข้อ Hello World and Program Structure Write your first Go program and learn what package main, import and func main do.
- บทเรียน โจทย์ 2 ข้อ Variables and Constants Declare variables with var and :=, and fixed values with const.
- บทเรียน โจทย์ 2 ข้อ Data Types Work with int, float64, bool, rune and string, and convert between them.
- บทเรียน โจทย์ 2 ข้อ Operators and Arithmetic Use arithmetic, comparison and logical operators, and see how integer division works.
- บทเรียน โจทย์ 2 ข้อ Reading User Input Read a line from the keyboard and turn it into a number safely.
2 การตัดสินใจ บทเรียน 2 บท
- บทเรียน โจทย์ 2 ข้อ Conditions: if and switch Choose what runs with if, else and switch.
- บทเรียน โจทย์ 1 ข้อ FizzBuzz Solve the classic FizzBuzz problem with a switch.
3 ลูป บทเรียน 2 บท
- บทเรียน โจทย์ 2 ข้อ Loops with for Repeat code with Go's only loop, for, in its four forms.
- บทเรียน โจทย์ 2 ข้อ Prime Numbers Check whether a number is prime and list the primes up to 30.
4 สตริงและข้อความ บทเรียน 2 บท
- บทเรียน โจทย์ 2 ข้อ Strings Join, search, split and slice text with Go strings and the strings package.
- บทเรียน โจทย์ 1 ข้อ Reverse a String Reverse the characters of a string and the words of a sentence.
5 คอลเลกชัน บทเรียน 4 บท
- บทเรียน โจทย์ 2 ข้อ Arrays Store a fixed number of values and see that arrays are copied on assignment.
- บทเรียน โจทย์ 2 ข้อ Slices Work with growing lists: append, slicing, make, len and cap.
- บทเรียน โจทย์ 2 ข้อ Maps Store and look up values by key with Go maps.
- บทเรียน โจทย์ 2 ข้อ Word Frequency Counter Count how often each word appears with a map.
6 ฟังก์ชัน บทเรียน 2 บท
- บทเรียน โจทย์ 2 ข้อ Functions and Multiple Return Values Define functions, return more than one value and accept any number of arguments.
- บทเรียน โจทย์ 2 ข้อ Fibonacci Sequence Generate Fibonacci numbers with a loop and a slice.