Java 打印杨辉三角

package DataType; import java.util.Scanner; public class Demo16 { public static void main(String[] args) { ...

Python 截取两个字符串之间的内容(re)

import re str1 = 'AwdnmdB' re1 = r'A(.*?)B' reResult = re.findall(re1, str1) print(reResult)