例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"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-
我有一个带有行时间戳和行值的mysql数据库。我想按7天来计算所有的值。我的时间格式是dd-mm-yy。$kcl = mysqli_query($db,"SELECT * FROM tick GROUP BY date ORDER BY id DESC");WEEK 30.12.13-05.01.2014 | RESULT OF CALC
WEEK 06.0