Coder Social home page Coder Social logo

farewell12345.github.io's Introduction

嗨!欢迎来到我的页面 👋

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

  • 某社畜,喜欢摸鱼,偶尔提交一些好玩(laji)的小项目
  • 伪动漫人, 二次元,胶佬一名
  • 有任何问题欢迎在我博客中留言
  • 欢迎访问我的博客

farewell12345.github.io's People

Stargazers

 avatar

Watchers

 avatar  avatar

farewell12345.github.io's Issues

文章 python推导式 中存在错误

python推导式 文章中存在错误。

我们来看一个示例

lists=[0,1,2,3,4,5,6,7,8,9,10]
list_a=[x * x for x in lists if x % 2 ==0]
print(list_a)

这个示例中的推导式就等价于

lists=[0,1,2,3,4,5,6,7,8,9,10]
list_a=list()
for x in lists:
    if x % 2==0
        list_a.append(x)
print(list_a)

此处应该等价于

lists=[0,1,2,3,4,5,6,7,8,9,10]
list_a=list()
for x in lists:
    if x % 2==0:
        list_a.append(x * x)
print(list_a)

而且在这一部分中,if后缺了冒号

for x in lists:
    if x % 2==0
        list_a.append(x)

别打我,23333

Clion配置OpenGL

此时GLFW用户路过
其实你没必要把它复制过去的,只需要在link_directories加上即可
(当然如果那样搞会出现奇怪问题当我没说

此时GLFW用户路过

其实你没必要把它复制过去的,只需要在link_directories加上即可
(当然如果那样搞会出现奇怪问题当我没说

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.