def my_func(x): assert x > 0 , "Error!" print(x) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

def my_func(x): assert x > 0 , "Error!" print(x)

I got an error "x is not defined"

21st Aug 2019, 5:01 PM
Rupal Raut
1 Answer