list5=[print("这是字母")if isinstance(list4[x],str) else print("这是数字") for x in range(len(list4))]
Sign in to make a reply
-