Best solutions for TypePrinter in BeginnersPython