摘要:
x=2 print(id(2)) print(id(x)) y='hello' print(id('hello')) print(id(y)) 202213907220221390725504960055049600 '''在Python中一切皆对象,像2,'hello'这样的值都是对象,只不过5是 阅读全文
posted @ 2021-09-11 09:42
emanlee
阅读(1597)
评论(0)
推荐(0)
摘要:
\r:回车,ASCII码13 r->return \n:换行,ASCII码10 n->newline 在Windows中: '\r' 回车,回到当前行的行首,而不会换到下一行; '\n' 换行,换到当前位置的下一行,而不会回到行首; \r与\n的区别: \r : return 到当前行的最左边。 \ 阅读全文
posted @ 2021-09-11 09:15
emanlee
阅读(3565)
评论(0)
推荐(0)

浙公网安备 33010602011771号