Input as List of dictionary python - Stack Overflow

Input as List of dictionary python - Stack Overflow