How to update element of nested list from forloop - Python

visit shbcf.ru