How do I print on the same line?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Drawsi
for x in range(height+2):
	print('\n')
	for y in range(width+2):
		print(matrix[x][y],end=' ')

This is the code in python. I want the " end=‘’ " part of it to use in Godot but the documentation hasn’t given me something close to it.

:bust_in_silhouette: Reply From: jgodfrey

There are a few solutions here:

https://forum.godotengine.org/126907/how-to-print-statements-in-one-line