• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

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

I got an error "x is not defined"

assertions
21st Aug 2019, 5:01 PM
Rupal Raut
2 Answers
0
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2286/
21st Aug 2019, 10:42 PM
Solo
Solo - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
My codebits section is full of deleted codes
12 Votes
Ai generated practices
1 Votes
Why so many mathematical questions in challenges?
0 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
I need a siren sound
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Patters of library class
0 Votes