berlinfog

berlinfog blog

2019-04-26-python字典

python

字典简介 在该 notebook 中,你将要学习 Python 字典。 1.1字典将 keys 与 values 相关联 ticket = { "date" : "2018-12-28", "priority" : "high", "description" : """Vehicle did not slow down despite SLOW ...

托福TPO1独立写作

托福

托福TPO3综合写作 原文 Rembrandt is the most famous of the seventeenth-century Dutch painters. However, there are doubts whether some paintings attributed to Rembrandt were actually painted by him. One su...

常用cmd指令

常用操作

常用cmd指令 1.批量删除当前路径下后缀为 .jpg和 .json del /a /f /s /q "*.jpg" "*.json" *为通配符 /a /f 是强制删除所有属性的文件 /q是无需确认直接删除 要是再加上/s开关,就可以删除子文件加中的文件 2.切换盘符 切换到d盘 d: 3.进程 tasklist /svc 显示进程 ntsd -c q -...

托福TPO3口语

托福

托福TPO3口语 1.What characteristics do you think make someone a good parent? Explain why these characteristics are important to you. 答案 My mom has many good characteristics that I think all parents ...

托福TPO2口语

托福

托福TPO2口语 1.Choose a place you go to often that is important to you and explain why it is important.(importance) 答案 The zoo is a place I go to often that is important to me for a couple of reason...

github使用小贴士

github

github上传三步走 按这个顺序来 1.git安装,已经好了,略 -到这里本地代码推送到远程已经结束了 2.git本地命令操作 -shift+右键 -git init:初始化git环境 -新建一个“我的文档” -git status 查看当前git工作空间文件状态 “\346\210\221\347\232\204\346\226\207\346\241\243.txt==>...

leetcode-7-整数反转

算法

题目 给出一个 32 位的有符号整数,你需要将这个整数中每位上的数字进行反转。 示例 1: 输入: 123 输出: 321 示例 2: 输入: -123 输出: -321 示例 3: 输入: 120 输出: 21 答案 关键一:int倒过来 while(x!=0) { reverse...

leetcode-7-整数反转

算法

题目 给出一个 32 位的有符号整数,你需要将这个整数中每位上的数字进行反转。 示例 1: 输入: 123 输出: 321 示例 2: 输入: -123 输出: -321 示例 3: 输入: 120 输出: 21 答案 关键一:int倒过来 while(x!=0) { reverse...

leetcode-6-Z字变换

算法

题目 将一个给定字符串根据给定的行数,以从上往下、从左到右进行 Z 字形排列。 比如输入字符串为 “LEETCODEISHIRING” 行数为 3 时,排列如下: L C I R E T O E S I I G E D H N 之后,你的输出需要从左往右逐行读取,产生出一个新的字符串,比如:”LCIRETOESIIGEDHN“。 请你实现这个将字符串进行...

托福TPO1综合写作

托福

托福TPO1综合写作 范文 Offering employees the option of a four-day workweek won’t affect the company profits, economic conditions or the lives of employees in the ways the reading suggests.First, offering...