+ 2
Why does <,> etc, doesn't work with functions? Please fix this code.š„š„šš
2 Answers
+ 2
Logical operators work with function calls if your function is returning a value. Here your functions alpha(), beta(), gamma() are not returning anything. They are just printing the counts. To fix this code, just use return instead of print in your functions here.
+ 2
Thanks so much, it is working now