- Executores
-
Aprender
Aprender Python Exemplos executáveis, NumPy, pandas e mais Aprender IARedes neurais, ML e LLMs do zero Aprender C e C++ Ponteiros, memória, STL e C++ moderno Aprender C#Fundamentos, POO, LINQ, async e exercícios .NET Aprender MatplotlibGráficos de linha, barras, dispersão e pizza com visualizadores Aprender RustOwnership, traits, tratamento de erros e threads Aprender GoSlices, interfaces, goroutines e channels Algoritmos em Python Busca, ordenação, recursão e visualizações O(n) Algoritmos em C e C++ Compare implementações em C e C++ Programação para crianças Aprenda a programar brincando!
- DesafiosNovo
- Para professoresNovo
- Atualizações
- Me pague um café
Fundamentos de Go
Do primeiro programa a variáveis, tipos, condições, laços, strings, slices, maps e funções, com um desafio depois de cada tema.
1 Primeiros passos 5 lições
- Lição 2 desafios Hello World and Program Structure Write your first Go program and learn what package main, import and func main do.
- Lição 2 desafios Variables and Constants Declare variables with var and :=, and fixed values with const.
- Lição 2 desafios Data Types Work with int, float64, bool, rune and string, and convert between them.
- Lição 2 desafios Operators and Arithmetic Use arithmetic, comparison and logical operators, and see how integer division works.
- Lição 2 desafios Reading User Input Read a line from the keyboard and turn it into a number safely.
2 Decisões 2 lições
- Lição 2 desafios Conditions: if and switch Choose what runs with if, else and switch.
- Lição 1 desafio FizzBuzz Solve the classic FizzBuzz problem with a switch.
3 Laços 2 lições
- Lição 2 desafios Loops with for Repeat code with Go's only loop, for, in its four forms.
- Lição 2 desafios Prime Numbers Check whether a number is prime and list the primes up to 30.
4 Strings e texto 2 lições
- Lição 2 desafios Strings Join, search, split and slice text with Go strings and the strings package.
- Lição 1 desafio Reverse a String Reverse the characters of a string and the words of a sentence.
5 Coleções 4 lições
- Lição 2 desafios Arrays Store a fixed number of values and see that arrays are copied on assignment.
- Lição 2 desafios Slices Work with growing lists: append, slicing, make, len and cap.
- Lição 2 desafios Maps Store and look up values by key with Go maps.
- Lição 2 desafios Word Frequency Counter Count how often each word appears with a map.
6 Funções 2 lições
- Lição 2 desafios Functions and Multiple Return Values Define functions, return more than one value and accept any number of arguments.
- Lição 2 desafios Fibonacci Sequence Generate Fibonacci numbers with a loop and a slice.