相关疑难解决方法(0)

Python基础知识:如何检查函数是否返回多个值?

我知道的基本内容...... ;-P但是检查函数是否返回某些值的最佳方法是什么?

def hillupillu():
    a= None
    b="lillestalle"
    return a,b

if i and j in hillupillu(): #how can i check if i or j are empty? this is not doing it of course;-P
    print i,j 
Run Code Online (Sandbox Code Playgroud)

python

0
推荐指数
2
解决办法
5694
查看次数

标签 统计

python ×1