慕婉清4134424
2025-10-23 22:42
if not isinstance(x, int) or not isinstance(x, float)
int或float,只要满足其中一个条件就是True,一真则真,假假才假
Python3 入门教程
165015 学习 · 1138 问题
相似问题
回答 1
回答 2
回答 4