摘要:
React官方给定的教程,井字棋(tic-tac-toe),是使用 class 组件制作的,但是函数式组件才是未来,所以初学者的我用函数式组件重写一遍,简单记录一下。 官方教程链接 import React, {useState} from 'react'; import ReactDOM from 阅读全文
摘要:
递归下降法的python实现 # 递归下降法 def test(): global index return test_input[index] def E(): T() _E() def _E(): global index if test() == '+': index += 1 T() _E( 阅读全文