分类
期貨市場

本Live面向量化交易 新手

  • Open with Desktop
  • View raw
  • Copy raw contents Copy raw contents

本Live面向量化交易 新手

This commit does not belong 本Live面向量化交易 新手 to any branch on this repository, and may belong to a fork outside of the repository.

  • Open with Desktop
  • View raw
  • Copy raw contents Copy raw contents

Copy raw contents

Copy raw contents

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

(print "Hello World")

  • Copy lines
  • Copy permalink

Footer

© 2022 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh 本Live面向量化交易 新手 your session.

本Live面向量化交易 新手

小C:那是因为我们在进行输入时使用 input 接收的值都是字符串,我问你字符串的 5 与数字 5 在 python 中会相等吗?

小媛:哈哈哈,原来是这个原因 ,我想起来了。我直接在输入的时候将输入的内容转为整型就 ok 了,这样对了吧。

小媛:你是指那个 本Live面向量化交易 新手 while 就是循环的意思吗?

小C:挺聪明的呀,竟然一看就知道是 while 本Live面向量化交易 新手 是循环的意思了。

小媛:我又不傻,就多了一个 while 和一个 True 我就随便猜一个。

小C:哈哈哈,一般情况下 while 后面需要跟一个 条件,这个条件就是指这个循环要满足什么条件才会执行。

小媛:那这个 True 是条件吗?

小C:True 也是条件,不过 True 是一个特殊的条件,在这里表示这个循环永远执行,条件永远正确。

小媛:唔,你的意思是 True 表示条件永远正确?

小C:是的,我给你看一个正常的 while 循环的例子。

小媛:那上面这个代码你的意思就是 while 后面的 i

小媛:你之前在 if 语句那里说过层级,那么在这个 while 循环中,也是一样的形式;循环的代码前面也要使用相同的空格对这些代码指令进行标记,作为这个 while 需要循环的代码?

Simple Sidebar

The starting state of the menu will appear collapsed on smaller screens, and will appear non-collapsed on larger screens. When toggled using the button below, the menu will change.

Make sure to keep all page content within the #page-content-wrapper . The top navbar is optional, and just for demonstration. Just create an element with the #sidebarToggle ID 本Live面向量化交易 新手 which will toggle the menu when clicked.

Simple Sidebar

The starting state of the 本Live面向量化交易 新手 menu will appear collapsed on smaller screens, and will appear non-collapsed on larger screens. When toggled using the button below, the menu will change.

Make sure to keep all page content within the #page-content-wrapper . The top navbar is optional, and just for demonstration. Just create an element with the #sidebarToggle ID which will toggle the menu when clicked.