Write a method that takes a hash and prints each key-value pair.
EasyProblem Statement
Write a method that takes a hash and prints each key-value pair.
Sample Input
{name: "John", age: 25, city: "New York"}Sample Output
name: John age: 25 city: New York
Limits
Time: 2s · Memory: 256 MB