Update flooding.py

updated flooding.py