22 lines
		
	
	
		
			429 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			429 B
		
	
	
	
		
			Go
		
	
	
	
	
	
|   | // For more tutorials: https://blog.learngoprogramming.com | ||
|  | // | ||
|  | // Copyright © 2018 Inanc Gumus | ||
|  | // Learn Go Programming Course | ||
|  | // License: https://creativecommons.org/licenses/by-nc-sa/4.0/ | ||
|  | // | ||
|  | 
 | ||
|  | package main | ||
|  | 
 | ||
|  | import "fmt" | ||
|  | 
 | ||
|  | func main() { | ||
|  | 	// the number of variables and values should be equal | ||
|  | 
 | ||
|  | 	// -> `true` is being assigned to `safe` | ||
|  | 	// -> `50` is being assigned to `speed` | ||
|  | 
 | ||
|  | 	safe, speed := true, 50 | ||
|  | 
 | ||
|  | 	fmt.Println(safe, speed) | ||
|  | } |