所有中文汉字,中文汉字编码,typora功能汇总

#打印所有中文汉字:
for i in range(0x4e00,0x9fa6):
      print(chr(i),end='')

#打印所有中文汉字编码:
for i in range(0x4e00,0x9fa6):
      print(i,end='')

#打印中文对应的编码
print(hex(ord('陈')))
print(hex(ord('*')))
print(hex(ord('*')))
#打印编码对应的汉字
print(chr(0x9648))
print(chr(0x5c11))
print(chr(0x519b))

python

1.python 1989荷兰人发明
ipython

 import this
 
 xkcd.com
 
 python
 quit()
 
2.pip config set global.index-url https://pypi.doubanio.com/simple  //这种国内python下载库,提供下载速度

 pip install ipython  //交互式环境;
 
 python test.py
 
3.seting---》Editor-->python script
 
 """
${NAME} -
Author: ${USER}
Date: ${DATE}
"""

4.print(0.1+0.2+0.3)
print(0.3+0.2+0.1)
a=1
b=2
print(f'{a}+{b}={a+b:.1f}')
print(f'{a}+{b}={a+b:.2f}')
print(f'f(x)={y}')

if  i >10
    print(‘true')
elseif i>5
    print('xxx')
else
     print('xxx')

for i in range(1,101)
      print(i)

list1=['apple','orange']
list2=list(range(1,10))
list3=[i**2 for i in range(1,10)]

temp=list1 + list2

print( 10 in list2)
print(20 not in list2)
print('apple' in list1


for i in range(0x4e00,0x9fa6):
      print(i,end='')
	  
	  
2.typora
makedown 公式编辑
 zybulou.com/coddep/note163962
 
#
##
-
1
![]() 可以缩放 
 [下载地址]
 |第1列|第2列|
 
 [toc]
posted @ 2024-03-03 11:54  大树2  阅读(7)  评论(0编辑  收藏  举报