fourth
The fourth day learning summary
一、for 循环循环就是重复做某件事,for循环是python提供第二种循环机制(第一种是while循环),理论上for循环能做的事情,while循环都可以做。目的:之所以要有for循环,是因为for循环在循环取值(遍历取值)比while循环更简洁。代码示例:for i in range(1, 11 ......
7月4日 Fourth Point !!
# Fourth Point !! ``` c++ #include using namespace std; class point { public: double x; double y; bool equals(const point &p) { if (p.x == x && p.y == ......