Skip to content

Commit

Permalink
install lists,music block
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhiyong0410 committed Nov 23, 2020
1 parent d23e638 commit 8aca38a
Show file tree
Hide file tree
Showing 80 changed files with 1,249 additions and 15 deletions.
Binary file modified build/doctrees/environment.pickle
Binary file not shown.
Binary file modified build/doctrees/reference-for-block/block.doctree
Binary file not shown.
Binary file added build/doctrees/reference-for-block/lists.doctree
Binary file not shown.
Binary file added build/doctrees/reference-for-block/lsits.doctree
Binary file not shown.
Binary file added build/doctrees/reference-for-block/text.doctree
Binary file not shown.
Binary file added build/html/_images/appendtext.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/createemptylist.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/createlistwith.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/createlistwithitem.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/createtext.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/createtextexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/diandian.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/getletter.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/getsubstring.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/inlist.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/inlistas.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/inlistfind.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/inlistfindexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/inlistgetsub-listfromto.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/intext.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/intextexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/intextlast.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/isempty.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/lengthof.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/lengthof1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/maketestforlist.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/makewithdelimiter.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/makewithexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/sort.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/touppercase.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/trimspaces.jpg
2 changes: 2 additions & 0 deletions build/html/_sources/reference-for-block/block.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Product
logic
loops
math
text
lists
62 changes: 62 additions & 0 deletions build/html/_sources/reference-for-block/lists.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# lists
## ![a](./img/lists/createemptylist.jpg)
- **effect:** More often, an empty list is assigned to a variable, or it can be output directly.
***

## ![a](./img/lists/createlistwith.jpg)
- **effect:** Initialize a list, or reassign the list
***

## ![a](./img/lists/createlistwithitem.jpg)
- **effect:** Assign the same value to the list a certain number of times
***

## ![a](./img/lists/inlist.jpg)
- **effect:** Read or delete the value of the corresponding position in the list
***

## ![a](./img/lists/inlistas.jpg)
- **effect:** Modify the value of the corresponding position in the list
- **parameter:** When the position parameter is `#`, the first parameter indicates that the position can only be of type int, and the second parameter indicates that the value to be modified can be of any type
***

## ![a](./img/lists/inlistfind.jpg)
- **effect:** Find the corresponding value in the list and return the subscript
- **example:**
![a](./img/lists/inlistfindexample.jpg)
computational results:
```
2
```
***

## ![a](./img/lists/inlistgetsub-listfromto.jpg)
- **effect:** Get a part of the list by subscript
***

## ![a](./img/lists/makewithdelimiter.jpg)
- **effect:** Convert the string to a list, add subscripts through the specified symbols
- **parameter:** Only string
## ![a](./img/lists/maketestforlist.jpg)
- **effect:** Convert the list to a string, and separate them by the specified symbol
- **parameter:** Only list
- **example:**
![a](./img/lists/makewithexample.jpg)
computational results:
```
['a', 'b', 'c']
a,*,b,*,c
```
***

## ![a](./img/lists/lengthof.jpg)
- **effect:** Get list length
***

## ![a](./img/lists/isempty.jpg)
- **effect:** Determine whether the list is empty, return a Boolean value
***

## ![a](./img/lists/sort.jpg)
- **effect:** Sort the list in the specified way and return the sorted list
***
64 changes: 64 additions & 0 deletions build/html/_sources/reference-for-block/lsits.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# lists
## ![a](.\img\lists\createemptylist.jpg)
- **effect:** More often, an empty list is assigned to a variable, or it can be output directly.
***

## ![a](.\img\lists\createlistwith.jpg)
- **effect:** Initialize a list, or reassign the list
***

## ![a](.\img\lists\createlistwithitem.jpg)
- **effect:** Assign the same value to the list a certain number of times
***

## ![a](.\img\lists\inlist.jpg)
- **effect:** Read or delete the value of the corresponding position in the list
***

## ![a](.\img\lists\inlistas.jpg)
- **effect:** Modify the value of the corresponding position in the list
- **parameter:** When the position parameter is `#`, the first parameter indicates that the position can only be of type int, and the second parameter indicates that the value to be modified can be of any type
***

## ![a](.\img\lists\inlistfind.jpg)
- **effect:** Find the corresponding value in the list and return the subscript
- **example:**
![a](.\img\lists\inlistfindexample.jpg)
computational results:
```
2
```
***

## ![a](.\img\lists\inlistgetsub-listfromto.jpg)
- **effect:** Get a part of the list by subscript
***

## ![a](.\img\lists\makewithdelimiter.jpg)
- **effect:** Convert the string to a list, add subscripts through the specified symbols
- **parameter:** Only string
- **example:**
![a](.\img\lists\inlistfindexample.jpg)
## ![a](.\img\lists\maketestforlist.jpg)
- **effect:** Convert the list to a string, and separate them by the specified symbol
- **parameter:** Only list
- **example:**
![a](.\img\lists\makewithexample.jpg)
computational results:
```
['a', 'b', 'c']
a,*,b,*,c
```
***

## ![a](.\img\lists\lengthof.jpg)
- **effect:** Get list length
***

## ![a](.\img\lists\isempty.jpg)
- **effect:** Determine whether the list is empty, return a Boolean value
***

## ![a](.\img\lists\sort.jpg)
- **effect:** Sort the list in the specified way and return the sorted list
***
57 changes: 57 additions & 0 deletions build/html/_sources/reference-for-block/text.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# basic

## ![a](./img/text/diandian.jpg)
- **effect:** String value, generally used for assignment or judgment
***


## ![a](./img/text/createtext.jpg)
- **effect:** Used to concatenate strings
- **parameter:** The number of parameters can be any number, the parameters can also be any type, but they will all be converted to string
- **example:**
![a](./img/text/createtextexample.jpg)
computational results:
```
0.14
```
***

## ![a](./img/text/appendtext.jpg)
- **effect:** Concatenated string
- **parameter:** the parameters can be any type, but they will all be converted to string
***

## ![a](./img/text/lengthof.jpg)
- **effect:** Returns the length of the string, the return value of int type
***

## ![a](./img/text/intext.jpg)
## ![a](./img/text/intextlast.jpg)
- **effect:** Check whether there is a corresponding character in the character, and return the position, if not, return 0
You can set to return the position of the first character found, or return the position of the last character

- **parameter:** Both parameters are of string type, the first parameter is the main string, and the second parameter represents the character to be found in the first parameter
- **example:**
![a](./img/text/intextexample.jpg)
computational results:
```
1
7
```
***

## ![a](./img/text/getletter.jpg)
- **effect:** Get the string at the specified position in the text
***

## ![a](./img/text/getsubstring.jpg)
- **effect:** Get the characters between the specified subscripts in the text
***

## ![a](./img/text/touppercase.jpg)
- **effect:** don't say so much
***

## ![a](./img/text/trimspaces.jpg)
- **effect:** Needless to say
***
Binary file modified build/html/objects.inv
Binary file not shown.
2 changes: 2 additions & 0 deletions build/html/reference-for-block/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
<li class="toctree-l4"><a class="reference internal" href="logic.html">logic</a></li>
<li class="toctree-l4"><a class="reference internal" href="loops.html">loops</a></li>
<li class="toctree-l4"><a class="reference internal" href="math.html">math</a></li>
<li class="toctree-l4"><a class="reference internal" href="text.html">basic</a></li>
<li class="toctree-l4"><a class="reference internal" href="lists.html">lists</a></li>
</ul>
</li>
</ul>
Expand Down
4 changes: 4 additions & 0 deletions build/html/reference-for-block/block.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
<li class="toctree-l4"><a class="reference internal" href="logic.html">logic</a></li>
<li class="toctree-l4"><a class="reference internal" href="loops.html">loops</a></li>
<li class="toctree-l4"><a class="reference internal" href="math.html">math</a></li>
<li class="toctree-l4"><a class="reference internal" href="text.html">basic</a></li>
<li class="toctree-l4"><a class="reference internal" href="lists.html">lists</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -173,6 +175,8 @@ <h2>Product<a class="headerlink" href="#product" title="Permalink to this headli
<li class="toctree-l1"><a class="reference internal" href="logic.html">logic</a></li>
<li class="toctree-l1"><a class="reference internal" href="loops.html">loops</a></li>
<li class="toctree-l1"><a class="reference internal" href="math.html">math</a></li>
<li class="toctree-l1"><a class="reference internal" href="text.html">basic</a></li>
<li class="toctree-l1"><a class="reference internal" href="lists.html">lists</a></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 8aca38a

Please sign in to comment.