num_cn = {"short":2,"int":4,"long":8,"long long":8} for k,v in num_cn.items(): print("The size of {} is {} bytes.".format(k,v))