Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Print lists separated by comma
#python 3.5.2 x = 1 y = 1 z = 1 n = 2 for i in range( x + 1): for j in range( y + 1): for k in range( z + 1): if ( ( i + j + k) != n ): print ([ i, j, k], end = ", ") print("\n") x = 1 y = 1 z = 1 n = 2 print(", ".join([str([ i, j, k]) for i in range( x + 1) for j in range( y + 1) for k in range(z + 1) if ( i + j + k) != n ]).strip() );
run
|
edit
|
history
|
help
0
(P3) Ciągi 1
isipadu kuboid
Python input
binary_search_in_python
gj
pip install pyowm==2.7.1
числа близнецы
func1
Byear
hw11