- 実行ツール
-
学ぶ
Pythonを学ぶ 実行可能な例、NumPy、pandasなど AIを学ぶニューラルネット・機械学習・LLM をゼロから C/C++を学ぶ ポインタ、メモリ、STL、モダンC++ C#を学ぶC# 基礎、OOP、LINQ、async、.NET 演習 Matplotlibを学ぶ折れ線・棒・散布図・円グラフをインタラクティブに Rust を学ぶ所有権、トレイト、エラー処理、スレッド Go を学ぶスライス、インターフェース、goroutine、チャネル Pythonアルゴリズム 探索、ソート、再帰、ビジュアライザー O(n) C/C++アルゴリズム CとC++の実装を比較 子ども向けプログラミング 遊びながらプログラミングを学ぼう!
- 課題一覧NEW
- 教師向けNEW
- アップデート
- コーヒーをおごる
Go の基礎
最初のプログラムから、変数、型、条件分岐、ループ、文字列、スライス、マップ、関数まで。各トピックの後にチャレンジがあります。
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.