You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#### fire的使用
直接对类的调用
1无初始化数据
![image-20240427210624851](https://telegraph-image-5jy.pages.dev/file/e309aeec0e6233dcafcb0.png)
直接调用时运行文件产生解说help不会显示具体的函数的参数需要对具体的类里的函数描述
![image-20240415152714800](https://telegraph-image-5jy.pages.dev/file/80f0fd009a63d7154036a.png)
当具体对函数来调用help的时候会显示描述和参数
![image-20240415152837332](https://telegraph-image-5jy.pages.dev/file/b63cfccabcbcb00eab00b.png)
2存在初始化数据的猜数游戏
![image-20240427212214775](https://telegraph-image-5jy.pages.dev/file/5b41ff98f543b98141572.png)
运行查看参数这里看到有一个名为play的猜数游戏
![image-20240427212315054](https://telegraph-image-5jy.pages.dev/file/cbbfe178f8da41bef4138.png)
看初始化这里可以看到max_numer可控并且默认为100
![image-20240427212723698](https://telegraph-image-5jy.pages.dev/file/de7f06fdc55db160ad7ce.png)
当选定-m时可以修改max_number参数
![image-20240427212834344](https://telegraph-image-5jy.pages.dev/file/f88531b4b4ebb3a10ff49.png)