- 실행기
-
학습
Python 배우기 실행 가능한 예제, NumPy, pandas 등 AI 배우기신경망, 머신러닝, LLM을 처음부터 C/C++ 배우기 포인터, 메모리, STL, 모던 C++ C# 배우기C# 기초, OOP, LINQ, async 및 .NET 연습 Matplotlib 배우기선, 막대, 산점도, 원 그래프를 시각화 도구와 함께 Rust 배우기소유권, 트레이트, 오류 처리, 스레드 Go 배우기슬라이스, 인터페이스, 고루틴, 채널 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.