Coder Social home page Coder Social logo

millablogcomment's People

Watchers

 avatar

millablogcomment's Issues

对Sort()函数的理解(函数引用带括号与不带括号的区别) | Milla

https://millacheung.github.io/2019/10/22/%E5%AF%B9Sort-%E5%87%BD%E6%95%B0%E7%9A%84%E7%90%86%E8%A7%A3%EF%BC%88%E5%87%BD%E6%95%B0%E5%BC%95%E7%94%A8%E5%B8%A6%E6%8B%AC%E5%8F%B7%E4%B8%8E%E4%B8%8D%E5%B8%A6%E6%8B%AC%E5%8F%B7%E7%9A%84%E5%8C%BA%E5%88%AB%EF%BC%89/

1.sort() 函数用于对原列表进行排序,如果指定参数,则使用比较函数指定的比较函数 2.语法 list.sort(key=None, reverse=False) 3.参数 key – 主要是用来进行比较的元素,只有一个参数,具体的函数的参数就是取自于可迭代对象中,指定可迭代对象中的一个元素来进行排序。 <理解:表述元素的权重,如果函数中指定了key,那么就按照key指定的函数list中

CSS | Milla

https://millacheung.github.io/2019/06/15/CSS/

  1. CSS 简介1.1. HTML的局限性HTML 只关注内容的语义。 1.2. CSS-网页的美容师CSS 是层叠样式表(Cascading Style Sheets)的简称 也称为 CSS 样式表 或 级联样式表 CSS 也是一种 标记语言 CSS 主要用于设置 HTML 页面中的文本内容(字体、大小、对齐方式等)、图片的外形(宽高、边框样式、边距等)以及 版面的布局和外观显示样式 CSS

对Sort()函数的理解(函数引用带括号与不带括号的区别) | Milla

https://millacheung.github.io/2019/10/22/%E5%AF%B9Sort-%E5%87%BD%E6%95%B0%E7%9A%84%E7%90%86%E8%A7%A3%EF%BC%88%E5%87%BD%E6%95%B0%E5%BC%95%E7%94%A8%E5%B8%A6%E6%8B%AC%E5%8F%B7%E4%B8%8E%E4%B8%8D%E5%B8%A6%E6%8B%AC%E5%8F%B7%E7%9A%84%E5%8C%BA%E5%88%AB%EF%BC%89/

1.sort() 函数用于对原列表进行排序,如果指定参数,则使用比较函数指定的比较函数 2.语法 list.sort(key=None, reverse=False) 3.参数 key – 主要是用来进行比较的元素,只有一个参数,具体的函数的参数就是取自于可迭代对象中,指定可迭代对象中的一个元素来进行排序。 <理解:表述元素的权重,如果函数中指定了key,那么就按照key指定的函数list中

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.