30 lines
		
	
	
		
			522 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			522 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package main
 | |
| 
 | |
| // ---------------------------------------------------------
 | |
| // EXERCISE: Fix
 | |
| //
 | |
| //  1. Uncomment the code
 | |
| //
 | |
| //  2. And fix the problems
 | |
| //
 | |
| //  3. BONUS: Simplify the code
 | |
| // ---------------------------------------------------------
 | |
| 
 | |
| func main() {
 | |
| 	// var names [3]string = [3]string{
 | |
| 	// 	"Einstein" "Shepard"
 | |
| 	// 	"Tesla"
 | |
| 	// }
 | |
| 
 | |
| 	// var books [5]string = [5]string{
 | |
| 	// 	"Kafka's Revenge",
 | |
| 	// 	"Stay Golden",
 | |
| 	// 	"",
 | |
| 	// 	"",
 | |
| 	// 	""
 | |
| 	// }
 | |
| 
 | |
| 	// fmt.Printf("%q\n", names)
 | |
| 	// fmt.Printf("%q\n", books)
 | |
| }
 |