上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 42 下一页
摘要: 显着无聊收集了下用python绘制烟花,绘制樱花,烟花+樱花,飘零雪花,玫瑰花的python绘制代码,可以来练手什么的哦。同时python实现八音符,坦克大战,贪吃蛇,FlappyBird等都可以参考哦=> co... 阅读全文
posted @ 2018-11-29 11:41 sowhat1412 阅读(37397) 评论(0) 推荐(3)
摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of ... 阅读全文
posted @ 2018-11-29 09:46 sowhat1412 阅读(99) 评论(0) 推荐(0)
摘要: There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted... 阅读全文
posted @ 2018-11-27 21:03 sowhat1412 阅读(119) 评论(0) 推荐(0)
摘要: Given a string, find the length of the longest substring without repeating characters.Examples:Given "abca... 阅读全文
posted @ 2018-11-26 20:37 sowhat1412 阅读(89) 评论(0) 推荐(0)
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in ... 阅读全文
posted @ 2018-11-26 19:30 sowhat1412 阅读(89) 评论(0) 推荐(0)
摘要: def delCustomer(customer): # 返回两个 第一个用来标记是否可用,第二个标记号码 f = open(AbnormalPhone,"r") src = f.readlines... 阅读全文
posted @ 2018-11-26 18:21 sowhat1412 阅读(262) 评论(0) 推荐(0)
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target.Y... 阅读全文
posted @ 2018-11-26 16:29 sowhat1412 阅读(81) 评论(0) 推荐(0)
摘要: str或bytes始终返回为str#!/usr/bin/env python# -*- coding: utf-8 -*-def to_str(bytes_or_str): if isinstance(by... 阅读全文
posted @ 2018-11-16 15:41 sowhat1412 阅读(97) 评论(0) 推荐(0)
摘要: jupyter 密码设定本身自己机器上安装了太多东西,有点慢,本来也喜欢所有的东西搬到服务上,所以如果能安装一个远程的Jupyter 服务器,用起来就会很方便。记录下自己的安装步骤1. 安装ipython, ju... 阅读全文
posted @ 2018-11-09 10:55 sowhat1412 阅读(517) 评论(0) 推荐(0)
摘要: 运用nodebook可实现浏览器python编程控制服务器后台任务,在浏览器编写后的python代码会再后台编程 *.ipynb。1. 用jupyter实现 jupyter nbconvert --to s... 阅读全文
posted @ 2018-11-08 16:00 sowhat1412 阅读(171) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 42 下一页