Created
September 4, 2017 12:27
-
-
Save r1ckhenry/e94e91673714cdbfe1df8ee6af24895e to your computer and use it in GitHub Desktop.
Country
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
country = { | |
"name"=> "Mauritius", | |
"capital"=> "Port Louis", | |
"altSpellings"=> [ | |
"MU", | |
"Republic of Mauritius", | |
"République de Maurice" | |
], | |
"relevance"=> "0", | |
"region"=> "Africa", | |
"subregion"=> "Eastern Africa", | |
"translations"=> { | |
"de"=> "Mauritius", | |
"es"=> "Mauricio", | |
"fr"=> "Île Maurice", | |
"ja"=> "モーリシャス", | |
"it"=> "Mauritius" | |
}, | |
"population"=> 1261208, | |
"latlng"=> [ | |
-20.28333333, | |
57.55 | |
], | |
"demonym"=> "Mauritian", | |
"area"=> 2040, | |
"gini"=> 0, | |
"timezones"=> [ | |
"UTC+04=>00" | |
], | |
"borders"=> [], | |
"nativeName"=> "Maurice", | |
"callingCodes"=> [ | |
"230" | |
], | |
"topLevelDomain"=> [ | |
".mu" | |
], | |
"alpha2Code"=> "MU", | |
"alpha3Code"=> "MUS", | |
"currencies"=> [ | |
"MUR" | |
], | |
"languages"=> [ | |
"en", | |
'fr' | |
] | |
} | |
#Name | |
puts "The name of the country is.." | |
#put answer here | |
puts "\n" | |
#Population | |
puts "The population is.." | |
#put answer here | |
puts "\n" | |
#Capital | |
puts "The capital is.." | |
#put answer here | |
puts "\n" | |
#French Translation | |
puts "The French name is.." | |
#put answer here | |
puts "\n" | |
#First Currency | |
puts "The main currency is.." | |
#put answer here | |
puts "\n" | |
#Number of languages | |
puts "The number of languages spoken is.." | |
#put answer here | |
puts "\n" | |
#Latitude | |
puts "It's latitude is.." | |
#put answer here | |
puts "\n" | |
#Longitude | |
puts "It's longitude is.." | |
#put answer here | |
puts "\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment