Educational Codeforces Round 65 (Rated for Div. 2) E. Range Deleting(双指针+思维)
题目链接#include<bits/stdc++.h>using namespace s
《Javascript高级程序设计》读书笔记——构造函数与原型
构造函数与原型 构造函数模式 最简单的构造函数: function Person(name, age, job) {
this.name = name;
this.age = age;
this.job = job;
this.sayName = function() {
console.log(this.name);
}
}
var p1 = new Person("jerry", 18, "Coder");
var p2 = ne
快速终止所有循环。用tag标示一种状态
1 tag = True
2 while tag:
3 print('第一层')
4 choice = input('请输入======》')
5 if choice == 'quit':break
6 if choice == 'quit_all': tag =False
7 while tag:
8 print('第二层')
9 choice = input('请输入======》')
10
周排行