Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

Python • Re: Failed to add edge detection Error

$
0
0
If you're going to post python (with left hand whitespace being a syntax issue) you must enclose it in [code][/code] tags.

That makes the difference between
if code-tags == "used":
print ("python is formatted")
else:
print ("python is scrambled")

And

Code:

if code-tags == "used":  print ("python is formatted")else:  print ("python is scrambled")

Statistics: Posted by DougieLawson — Thu Jun 05, 2025 6:44 am



Viewing all articles
Browse latest Browse all 8621

Trending Articles