ICode9

精准搜索请尝试: 精确搜索
  • python闭包函数&装饰器2022-01-20 17:58:52

    一、函数引用 函数可以被引用 函数可以被赋值给一个变量 def hogwarts(): print("hogwarts") # hogwarts() # 函数调用 print(hogwarts) print('----------------') harry = hogwarts # 把函数对象赋值给一个变量 print(harry) print('----------------') harry() #

  • PAT-A1058 A+B in Hogwarts (钱币转换)2021-09-13 21:33:04

    A1058 A+B in Hogwarts (钱币转换) If you are a fan of Harry Potter, you would know the world of magic has its own currency system – as Hagrid explained it to Harry, “Seventeen silver Sickles to a Galleon and twenty-nine Knuts to a Sickle, it’s easy eno

  • python 常见数据结构2021-07-10 20:06:14

    大纲 列表元组集合字典 列表 定义 Python 中可以通过组合一些值得到多种复合数据类型。 列表是其中最常用得数据结构 列表通过方括号起,逗号分隔的一组值得到 一个列表可以包含不同类型的元素,但通常使用时各个元素类型相同 列表的特性 list.append(x): 在列表的末尾添加一个元

  • HOGWARTS: BELLATRIX2021-07-01 23:34:36

    靶机地址:https://www.vulnhub.com/entry/hogwarts-bellatrix,609/   攻击机ip:192.168.99.128 靶机地址ip:192.168.99.144 扫描靶机端口,开放了22、80 访问80端口 查看网页源代码,有个目录的.php文件存在文件包含 网页源码有存在一个.php文件,参数是file 存在文件包含 http://i

  • UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 68: illegal multib2020-05-17 09:03:15

      import yaml def test_yaml(): f = open('C:\hogwarts\Scripts\hogwarts-api\demo\yaml_data.yml') print(yaml.load(f))  # 改进: import yamldef test_yaml(): f = open('C:\hogwarts\Scripts\hogwarts-api\demo\yaml_data.yml',

  • 1058 A+B in Hogwarts (20分)2020-03-17 11:09:30

      If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver Sickles to a Galleon and twenty-nine Knuts to a Sickle, it's easy enough." Your job is t

  • PTA(Basic Level)1058.A+B in Hogwarts2019-10-14 19:08:57

    If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver Sickles to a Galleon and twenty-nine Knuts to a Sickle, it's easy enough." Your job is to

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有