Question: ```
print("Lets play a game")
print("You have to operte on some numbers")

print("Are you ready? , type yes or no ")

input = input().lower()

if input == "yes":
    print("Ok now type your name and age (comma separated)")
    name = input()
    age = int(input())
    if "\"" in name or ">" in name :
        print("Use only alphanumeric characters")
    else:
        pass
    if age <= 10 :
        print("You cant play this game")

```

I keep on getting this error `'str' object is not callable` in line 10.

Answer: 
You can do like this: 

```
Map<String, Map<Food, List<String>>> groceryBasket = 
   Stream.concat(fruitBasket.entrySet().stream(),veggieBasket.entrySet().stream())
       .collect(Collectors.toMap(Map.Entry::getKey, v -> v.getValue().entrySet().stream()
                   .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)),
                    (a, b) -> { a.putAll(b);return a; }
                   )
               );

```
Why not try resolving the merge as:

```
Map<String, Map<Food, List<String>>> groceryBasket =
        Stream.concat(fruitBasket.entrySet().stream(), veggieBasket.entrySet().stream())
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (a, b) -> {
                    Map<Food, List<String>> innerMap = new HashMap<>(a);
                    innerMap.putAll(b);
                    return innerMap;
                }));

```

or if the inner map is mutable then slightly convenient as

```
Map<String, Map<Food, List<String>>> groceryBasket = Stream.concat(fruitBasket.entrySet().stream(),
        veggieBasket.entrySet().stream())
        .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (a, b) -> {
            a.putAll(b);
            return a;
        }));

```