例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"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-
我使用下面的代码将照片设置为墙纸: File f = new File(PhotoPath); this.setWallpaper(in); e.printStackTrace();对于一些照片,它可以设置为墙纸成功。但对于某些照片,墙纸将设置为设备默认墙纸或全黑。或者这段代码怎么修改才能修复</em