摘要:
当然,我们可以将 Python 用于更复杂的任务,而不是仅仅两个和两个一起添加。 例如,我们可以编写 斐波那契数列的初始子序列,如下所示: 1 >>> # Fibonacci series: 2 ... # the sum of two elements defines the next 3 ... a, b = 0, 1 4 >>> while a (大于)、 == (等于)、 = (... 阅读全文
摘要:
创建数据库 1 DROP DATABASE IF EXISTS test1; #如果存在test1数据库删除test1数据库 2 CREATE DATABASE test1; #创建test1数据库 3 USE test1; #切换的test1数据库里 创建部门表 1 DROP IF EXISTS 阅读全文