python中的字符串和文本

這是學習python的第6課,主要是講 .format()的用法,.format()就是把前後兩個字符串連接起來的。 types_of_people = 10 x = f"There are {types_of_people} types of people." #將types_of_people自變量放入在其中 binary = "binary" do_not = "don't" y =
相關文章
相關標籤/搜索