3 ms·Python allows nested functions too. Can't remember about Ruby.by fuzztester 3y agoPython allows nested functions too. Can't remember about Ruby.