<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/ZLAir724UGA/my.html" frameborder="0" scrolling="auto" width="100%" height="1500"></ifram ...
分类:
移动开发 时间:
2021-04-06 14:13:51
阅读次数:
0
s = set('hello,word') print(s) #set 方法 s = {'xiaoming', 'xiaoming', 'xiaoming1'} print(s) s.add('s') # 添加元素 s.clear(s) # 清空集合 s1 = s.copy(s) # 复制集合 s. ...
分类:
编程语言 时间:
2021-04-05 12:51:32
阅读次数:
0
一 for循环 #for循环可以循环任何序列的项目 for i in range(1,10): for j in range(1,i+1): print('%s*%s=%s'%(i,j,i*j),end="") print() 二 可变不可变类型 #for循环可以循环任何序列的项目 for i in ...
分类:
编程语言 时间:
2021-04-05 12:49:56
阅读次数:
0
这个问题主要是因为定义类的时候在类名后边加了个括号(); `public class Hello { public static void main(String[] args) { System.out.print("Hello World!"); System.out.println();//换 ...
分类:
其他好文 时间:
2021-04-05 12:26:42
阅读次数:
0
Django的视图 简单的视图 我们将在 myapp 创建一个简单的视图显示: "welcome to yiibai !" 查看如下的视图 ? from django.http import HttpResponse def hello(request): text = """<h1>welcome ...
分类:
其他好文 时间:
2021-04-05 12:18:07
阅读次数:
0
其他章节请看: vue 快速入门 系列 侦测数据的变化 - [基本实现] 在 初步认识 vue 这篇文章的 hello-world 示例中,我们通过修改数据(app.seen = false),页面中的一行文本(现在你看到我了)就不见了。 这里涉及到 Vue 一个重要特性:响应式系统。数据模型只是普 ...
分类:
其他好文 时间:
2021-04-05 12:12:18
阅读次数:
0
id(): 以数字形式查看内存地址 示例代码: s = 'hello' print(id(s)) # 139620916353264 View Code ...
分类:
其他好文 时间:
2021-04-05 11:55:25
阅读次数:
0
function isMobile(){ if( navigator.userAgent.match(/Android/i)|| navigator.userAgent.match(/webOS/i)|| navigator.userAgent.match(/iPhone/i)|| navigato ...
分类:
其他好文 时间:
2021-04-02 13:34:15
阅读次数:
0
状态说明: onCreate(生成) onStart(启动) onResume(恢复) onPause(暂停) onStop(停止) onDestroy(销毁) onRestart(重新启动) 生命周期的流程 对于单个Activity的生命周期 1.正常启动的时候onCreate-->onStart ...
分类:
移动开发 时间:
2021-04-02 13:25:51
阅读次数:
0
命令创建项目:create-react-app hello-model-router 安装router:yarn add react-app-router-dom 按照例子来理解: 3.1. React router介绍 路由: path什么路径,component跳转到那个组件上. import ...
分类:
其他好文 时间:
2021-04-02 13:10:28
阅读次数:
0