0

Why the program is not returning any value

def spell(txt): return 6+6 txt = 2 spell(txt)

13th Dec 2022, 3:13 PM
Wen Will
Wen Will - avatar
2 Answers
+ 4
It return but you are not using it. print( spell(txt) )
13th Dec 2022, 3:15 PM
Jayakrishna 🇼🇳
+ 1
Hi, Wen Will ! Don’t excpect to much of setting txt = 2.
13th Dec 2022, 4:50 PM
Per Bratthammar
Per Bratthammar - avatar