• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






是勇哥呀

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2019年5月6日

Fibonacci 斐波那契数列 python
摘要: # -*- encoding:utf-8 -*- #斐波拉契 def f(n): if n==1: return 1 if n==2: return 1 if n>=3: a=1 b=1 c=0 for i in range(1,n-1): c=a+b ... 阅读全文
posted @ 2019-05-06 16:25 是勇哥呀 阅读(240) 评论(0) 推荐(0)
 
tk 菜单应用,一个组播ip转mac的实例
摘要: 1 # -*- coding:utf-8 -*- 2 #import tkinter 3 import tkinter.messagebox 4 root=tkinter.Tk() 5 root.title("mul_ip_mac Tool") 6 root.geometry("420x200") 7 8 def hello(): 9 print("Hello "... 阅读全文
posted @ 2019-05-06 15:55 是勇哥呀 阅读(557) 评论(0) 推荐(0)
 
转载一个tk实例
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- import tkinter as tk from tkinter import ttk from tkinter import scrolledtext # 导入滚动文本框的模块 win = tk.Tk() win.title("Python GUI") # 添加标题 # 创建... 阅读全文
posted @ 2019-05-06 15:44 是勇哥呀 阅读(932) 评论(0) 推荐(0)