例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"the person is 5 feet 11 inches tall."feet {} inches tall.".format(list[1], list[1]) #I am aware taking the same index of list will give me 5-
但是,当我像这样使用LINQ查询从数据库中调用结果时,我得到了结果对象,但是我的感官为空。问题1为什么以及如何解决它?results =(from r in db.Results select r).ToList(); select s).ToList();我可以补充,但是当我试图从我的观点展示感官时