HTML DOM 允许 JavaScript 改变 HTML 元素的内容。 1、改变 HTML 输出流 JavaScript 能够创建动态的 HTML 内容: 今天的日期是: Sun Oct 14 2018 17:06:00 GMT+0800 (中国标准时间) 在 JavaScript 中,docu ...
分类:
编程语言 时间:
2018-10-14 19:09:48
阅读次数:
207
Description The rotation game uses a # shaped board, which can hold 24 pieces of square blocks (see Fig.1). The blocks are marked with symbols 1, 2 an ...
分类:
其他好文 时间:
2018-10-11 18:44:44
阅读次数:
153
本节内容: 数据类型 数据运算 循环 练习 一、数据类型 1、数字(Number) Python3 支持 int、float、bool、complex(复数)。 在Python 3里,只有一种整数类型 int,表示为长整型,没有 python2 中的 Long。 像大多数语言一样,数值类型的赋值和计 ...
分类:
编程语言 时间:
2018-10-04 16:01:15
阅读次数:
157
Problem 11 Problem 11 In the 20×20 grid below, four numbers along a diagonal line have been marked in red. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 5 ...
分类:
编程语言 时间:
2018-09-29 01:19:08
阅读次数:
382
生成一只皮卡丘 在 "这篇文章" 中,学习到了通过 JavaScript 代码,利用定时器每次同时在 HTML 和 CSS 中输入固定的字符达到实时代码预览的效果,其中用到了 prism.js 库给代码添加高亮,用了 marked.js 库把 markdown 转换成 HTML ,并在页面中展示出来 ...
分类:
编程语言 时间:
2018-09-28 22:05:24
阅读次数:
1127
AJAX准备知识:JSON 什么是 JSON ? JSON 指的是 JavaScript 对象表示法(JavaScript Object Notation) JSON 是轻量级的文本数据交换格式 JSON 独立于语言 * JSON 具有自我描述性,更易理解 * JSON 使用 JavaScript ...
分类:
Web程序 时间:
2018-09-21 23:11:02
阅读次数:
211
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p... ...
分类:
其他好文 时间:
2018-09-20 18:48:04
阅读次数:
176
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:
其他好文 时间:
2018-09-13 00:04:00
阅读次数:
220
题目大意 https://leetcode.com/problems/unique-paths/description/ 62. Unique Paths A robot is located at the top-left corner of a m x n grid (marked 'Start ...
分类:
其他好文 时间:
2018-09-12 16:56:04
阅读次数:
157
一、列表 序列是Python中最基本的数据结构。序列中的每个元素都分配一个数字 - 它的位置,或索引,第一个索引是0,第二个索引是1,依此类推。Python有6个序列的内置类型,但最常见的是列表和元组。序列都可以进行的操作包括索引,切片,加,乘,检查成员。此外,Python已经内置确定序列的长度以及 ...
分类:
其他好文 时间:
2018-09-07 21:34:36
阅读次数:
280