Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Урок 4 задача 4: решить в целых числах уравнение ax=b (python)
# ax=b a=int(input()) b=int(input()) if b == 0 and a == 0: print('x any') elif b == 0 and a != 0: print('x = 0') elif (b != 0 and a == 0) or (b % a != 0 ): print('no solutions') else: print ( 'x={0}'.format(b // a )) print('x=%d' %(b // a )) print('x=', (b // a ))
run
|
edit
|
history
|
help
0
😚😚😚
Ns
PVJ-COMP1-1-EQUIPO1
PyTeleAbs
List problem - add items
EJ_2_python_20.068.214-9_20.116.927-5
Lesson 9
quiz3
LinkedNode and its use in Stack and Queue implementation
MBTI test ITA