938664978
938664978
全部文章
分类
AI(18)
algorithm(18)
C(6)
computer-vision(15)
cuda(2)
database(1)
fortran(1)
hardware(3)
java(1)
leetcode(39)
MathModeling(19)
matlab(5)
other(8)
python(68)
robotics(13)
web-development(4)
未归档(5)
归档
标签
去牛客网
登录
/
注册
938664978的博客
全部文章
(共226篇)
基本Turtle语句
import turtle turtle.showturtle() turtle.write("Welcome to Python") turtle.forward(100) turtle.backward(100) turtle.color('red') turtle.penu...
2020-07-14
0
573
Simple Python Built-in Functions
>>>ord('a') - ord('A') 32 >>>chr(98) 'b' #chr(code ) function return the character represent by the code >>> str(98...
2020-07-14
0
597
one simple example of yield
Write a generator that returns every arrangement of items such that each is in one or none of two different bags. Each combination should be given as...
2020-07-14
0
494
Alphabetical Substrings
Assume s is a string of lower case characters. Write a program that prints the longest substring of s in which the letters occur in alphabetical orde...
2020-07-14
0
440
Counting bobs
Assume s is a string of lower case characters. Write a program that prints the number of times the string 'bob' occurs in s. For example, if s = 'a...
2020-07-14
0
557
Alphabetical Substrings
Assume s is a string of lower case characters. Write a program that prints the longest substring of s in which the letters occur in alphabetical orde...
2020-07-14
0
512
a simple example of trade-off from fibonacci function to fast-fibonacci function
#old recursive fib function def fib(n): if n == 0: return 1 elif n == 1: return 1 else: return fib(n-1)+fib(n-2) p...
2020-07-14
0
537
homework of numerical solution of PDEs
Problem set find the numerical solution of the following partial differential equation: 1.C - N Scheme %二阶波动方程的CN格式 A=[0,-1;-1,0;]; I=[1,0;0,...
2020-07-14
0
650
Example: solving ODE using FEM method
clc; clear; % find the solution of du/dt -1 =0 Using finite element method % the zone of solution is [0,1] E = 5; % the number of elements N = E+1; %...
2020-07-14
0
550
double_linked_list in Python
class Frob(object): def __init__(self, name): self.name = name self.before = None self.after = None def setBefore(self...
2020-07-14
0
483
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页