D
D
Dmitry2021-02-19 07:11:17
PyCharm
Dmitry, 2021-02-19 07:11:17

Why is Pycharm not outputting the result of my code?

Tell me, what could be the problem, I enter a simple code for execution, there are no errors, but the result is not displayed?
602f3a6199dc2104830935.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zexer, 2021-02-19
@good_br

It expects you to enter values ​​for two inputs.
This is not visible in the console, so you did not designate the input text.
Write like this and see the result.

a = int(input('Первая переменная: '))
b = int(input('Вторая переменная: '))
print(a + b)

0
0xD34F, 2017-10-13
@Artem0071

Well, the error kind of hints that you need to set aliases to the users table. How else to distinguish users from different joins? Something like this:

SELECT *
FROM games
JOIN users u1 ON games.user_id = u1.user_id
LEFT OUTER JOIN users u2 ON games.user_id_moderator = u2.user_id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question