БГ
Size: a a a
БГ
БГ
БГ
@rextester_bot py3
print(-2**2)
НХ
py3
print(" \n” * 100)File "source_file.py", line 1
print(" \n” * 100)
^
SyntaxError: EOL while scanning string literal
БГ
py3
print(" \n” * 100)File "source_file.py", line 1
print(" \n” * 100)
^
SyntaxError: EOL while scanning string literal
НХ
py3
start = 1
for i in range(5):
for j in range(i + 1):
print(start, end=" ")
start += 1
print("")
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
БГ
БГ
py3
print(-2**2)
print((-2)**2)
-4
4
БГ
БГ
БГ
БГ
БГ
НХ
py3
n = 16
y = n - 1
while(y >= 0) :
i = 0
while(i < y ):
print(" ",end="")
i = i + 1
x = 0
while(x + y < n ):
if ((x & y) != 0) :
print(" ", end = " ")
else :
print(":-", end
File "source_file.py", line 15
^
SyntaxError: unexpected EOF while parsing
НХ
БГ
НХ
БГ