Concept:The idiom “learning the ropes” means learning how a job or task is done.Explanation:William spent three months learning the ropes.This means he was learning the necessary skills and methods of the job.So, he was learning what the job demanded from him.Answer:B. learnt what the job demanded