let weather = {
London: {
temp: 37,
humidity: 44,
},
Mumbai: {
temp: 32,
humidity: 80,
},
};
Create a variable myCity and assign to it the name of your current city.
Add a property to the weather object with your city and current weather numbers of your city in same format. Use the myCity variable while adding property.
Compare your city temperature to London and Mumbai and print the following output
// " My city
is having less/more/equal temperature than London"
// " My city
is having less/more/equal temperature than Mumbai"
Compare your city humidity to London and Mumbai and print
// " My city
is having less/more/equal humidity than London"
// " My city
is having less/more/equal humidity than Mumbai"