题目: 思路: 循环遍历7(可以被 7 整除的正整数最小为7)~n,如果i%70,就说明i可以被7整除. 代码:
#include<iostream>
using namespace std;
int n;//一个正整数
int main(){scanf("%d",&n);//输入…
匹配html标签中的任意标签内数据 匹配所有包含’oo’的单词 import re
text "JGood is a handsome boy, he is cool, clever, and so on..."
re.findall(r\w*oo\w*, text) 匹配 html中title里面的内容 原文:
import re
file r./202304.html
f open(…