cara menyimpan nilai pengembalian dalam variabel dalam python
def myfunction():
value = "myvalue"
return value
var = myfunction()
print(var)
>>> "myvalue"
Kyko
def myfunction():
value = "myvalue"
return value
var = myfunction()
print(var)
>>> "myvalue"