Join Miki Tebeka for an in-depth discussion in this video Challenge: FizzBuzz, part of Go Essential Training.
- [Instructor] Let's try a classic programming question.…It's called fizz buzz.…What you need to do is print the numbers between one and 20.…However, if the number is divisible by three, say nine,…you should print the word fizz instead of the number.…If the number is divisible by five, say 10,…you should print the word buzz instead of the number.…And if the number is divisible by both three and five,…say 15, it should print fizz buzz instead of the number.…Here is an example of the beginning of the output.…
We print the number one, we print the number two,…and then because three is divisible by three,…we print out fizz.…Then we print four, and instead of five,…we print buzz, instead of six, which is divisible by three,…we print fizz, etc., etc.…
- Go basic types, conditionals, and loops
- Go functions
- Object-oriented programming with Go
- Error handling
- Concurrent programming with channels
- Testing and project management
- Networking with JSON and HTTP
Skill Level Beginner
Programming Foundations: Fuzzy Logicwith Erin Colvin41m 50s Intermediate
Getting started1m 34s
1. Getting Started
2. Go Basics
5. Error Handling
7. Project Management
Next steps1m 12s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.