python questions.
Question1- what is monkey patching?
Question2- What is context manager?
Question3- How django work from user prospective?
Question4- Middle server/application before Django server?
Question5- What is closure function in python?
Question6-What is Middleware in django?
Question7- In lambda function can be return more than 1 value , if then how we can do?
Question8- What is non-local variable in python hint-used in decorator?
Question9- How to get directory, its files, its subdirectories and its subdirectories files without using os.walk()predefine function.
Question10- Simple python program for below problem statement
input_str = aabbbbcccaa
output_str — a2b4c3a2