I have tried to print something in the termianl, however it didn’t work so far.
My code:
console.log("Hello World")
However python gives me syntax error :
Traceback (most recent call last):
File "<string>", line 1, in
<module>
NameError: name 'console' is not defined
Do I have to download console first to use it in python?
Thanks for advice.
>Solution :
print is most likely what you’re looking for:
https://www.w3schools.com/python/ref_func_print.asp
ex:
print("Hello world!")