View source code

ASCII The hexadecimal code is converted to decimal
It doesn't seem difficult to do mental arithmetic 55,56,54,79,115,69,·········· That still works python bar



c=s.split(" ") print(c) # \x2c It's a comma , str.split(str="", num=string.count(str))
str -- Separator , The default is all empty characters , Include spaces , Line break (\n), Tab (\t) etc . num -- Segmentation times . The default is -1, That is to separate all . print
str.split( ); # Space as separator , contain \n print str.split(' ', 1 ); # Space as separator , Split into two

s=[55,56,54,79,115,69,114,116,107,49,50] for i in s: print(chr(i),end="")
chr Returns the corresponding integer ASCII character .
print (chr(48), chr(49), chr(65),chr(97)) 0,1,A,a print (chr(0x30), chr(0x31),
chr(0x61)) 0,1,a
ord Returns the ASCII numerical value
ord('a') 97

©2019-2020 Toolsou All rights reserved,
1190 Reverses the substring between each pair of parentheses leetcodemysql Joint index details You don't know ——HarmonyOS Create data mysql Library process Character recognition technology of vehicle license plate based on Neural Network A guess number of small games , use JavaScript realization Talking about uni-app Page value transfer problem pytorch of ResNet18( Yes cifar10 The accuracy of data classification is achieved 94%)C++ Method of detecting memory leak One is called “ Asking for the train ” A small village Finally got the train