# Description:

 Count the number of exclamation marks and question marks, return the product.

# Examples

```
Product("") == 0
product("!") == 0
Product("!ab? ?") == 2
Product("!!") == 0
Product("!??") == 2
Product("!???") == 3
Product("!!!??") == 6
Product("!!!???") == 9
Product("!???!!") == 9
Product("!????!!!?") == 20
```

Difficulty: EASY
Starter code: def product(s):
	

Solutions:
def product(s):
	return s.count('?') * s.count('!')


def product(s):
	ce = cq = 0
	for i in s:
		if i == '!':
			ce += 1
		elif i == '?':
			cq += 1
	return ce * cq


def product(s):
	exclamation = s.count('!')
	question = s.count('?')
	return exclamation * question


from collections import Counter

def product(s: str) -> int:
	c = Counter(s)
	return c.get('!', 0) * c.get('?', 0)


def product(input):
	return input.count('!') * input.count('?')


import operator

def product(s):
	return operator.mul(*list(map(s.count, '?!')))


def product(s):
	return sum((1 for ch in s if ch == '!')) * sum((1 for ch in s if ch == '?'))


def product(s):
	l = list(s)
	excl = l.count('!')
	qust = l.count('?')
	if excl == 0 | qust == 0:
		return 0
	else:
		return excl * qust


from collections import Counter

def product(s):
	return Counter(s).get('!', 0) * Counter(s).get('?', 0)