摘要:
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word 阅读全文
posted @ 2019-03-14 19:15
anobscureretreat
阅读(137)
评论(0)
推荐(0)
摘要:
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. 输出: 阅读全文
posted @ 2019-03-14 19:04
anobscureretreat
阅读(143)
评论(0)
推荐(0)
摘要:
Given a collection of distinct integers, return all possible permutations. 阅读全文
posted @ 2019-03-14 18:39
anobscureretreat
阅读(124)
评论(0)
推荐(0)
摘要:
class Solution(object): def divide(self, dividend, divisor): """ :type dividend: int :type divisor: int :rtype: int """ ispositive = True ... 阅读全文
posted @ 2019-03-14 17:54
anobscureretreat
阅读(403)
评论(0)
推荐(0)
摘要:
可以看到每一个发布都需要大约3s,所以在发布前要等待3s以上。 发布 订阅: 阅读全文
posted @ 2019-03-14 17:03
anobscureretreat
阅读(2767)
评论(0)
推荐(0)
摘要:
print()函数,我们可以看出,在Python IDLE中直接输入的字符串都是有类型的,而print打印后的字符串相当于一串文字,把字符串的引号也省略了,没有类型 print()函数,生成可读性更好的输出, 它会省去引号并打印 str()函数,用于将值转化为适于人阅读的字符串的形式 repr()函 阅读全文
posted @ 2019-03-14 13:21
anobscureretreat
阅读(394)
评论(0)
推荐(0)
摘要:
abs(number) ,返回数字的绝对值cmath.sqrt(number) ,返回平方根,也可以应用于负数float(object) ,把字符串和数字转换为浮点数help() ,提供交互式帮助input(prompt) ,获取用户输入int(object) ,把字符串和数字转换为整数math.c 阅读全文
posted @ 2019-03-14 11:49
anobscureretreat
阅读(205)
评论(0)
推荐(0)
摘要:
报错信息: 如图为adb所在路径: 编辑uiautomatorviewer.bat文件,修改最后一行, 修改前: 修改后: 注意: 将%prog_dir%替换为adb的路径。 再次启动 阅读全文
posted @ 2019-03-14 10:30
anobscureretreat
阅读(671)
评论(0)
推荐(0)
摘要:
#coding=utf-8 import sys from PyQt5.QtCore import Qt from PyQt5.QtWidgets import QWidget, QApplication from PyQt5.QtGui import QPixmap, QPainter, QBitmap, QCursor import PyQt5.QtCore as QtCore cl... 阅读全文
posted @ 2019-03-14 01:35
anobscureretreat
阅读(745)
评论(0)
推荐(0)
摘要:
需要修改的是 参考: https://www.jianshu.com/p/cb5bced7e540 https://www.cnblogs.com/good-time/p/7678206.html https://blog.csdn.net/u012681539/article/details/79 阅读全文
posted @ 2019-03-14 01:15
anobscureretreat
阅读(329)
评论(0)
推荐(0)
摘要:
有多种安装Python-Client的方法: 第一种 第二种 第三种 这里我们使用pip 阅读全文
posted @ 2019-03-14 00:40
anobscureretreat
阅读(3427)
评论(0)
推荐(0)
摘要:
下载地址: 选择版本 双击安装 阅读全文
posted @ 2019-03-14 00:28
anobscureretreat
阅读(2345)
评论(0)
推荐(0)

浙公网安备 33010602011771号