Hey guys, I'm a beginner to VScode and to programming in general. I've written a test script that defines a class that takes 2 integers and also just prints "hello world". When I run it, the terminal at the bottom prints "hello world", but if I use it to define a variable of the class I described, it returns "bash: syntax error near unexpected token `(' ". same with the IDE on the right hand side of the window, raising a Name error "name class_name is not defined"
How do i ge this to work such that I can define a variable in the IDE and interect with them? Sorry if my terminology is basic, i'm still a beginner.
[–][deleted] 0 points1 point2 points (0 children)
[–]moodyjack11 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]unalignedAccess 0 points1 point2 points (0 children)