enter image description here

I get one, but there is no such answer ... maybe I’m not catching up with something?

Closed due to the fact that the essence of the question is not clear to the participants of the Kromster , AK , αλεχολυτ , yolosora , 0xdb January 22 at 0:02 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • It is clear that the question is tricky and the correct answer is not obvious. But how can there be "get one"? If you get one, then you need to start reading the textbook again. - Enikeyschik
  • one
    On so answers are not allowed-questionnaires. Minus and voice closing. - AK
  • one
    Study assignments are allowed as questions only under the condition that you tried to solve them yourself before asking a question. Please edit the question and indicate what caused you difficulties in solving the problem. For example, give the code you wrote trying to solve the problem - LFC
  • So run this code in the online compiler - yolosora 1:34 pm
  • No, it's not that I did not understand something, I just thought what the final result was and did not take into account that the first print displays another number. If the answer numbers were written in a column, then there would be no question, and the numbers there are listed in a line without a space. That confused me ... - Knight120387 3:12 pm

1 answer 1

Answer 21. any() - displays the value 1+1 , i.e. 2 , but it does not change the value of var . print(var, end) prints 1

  • 2
    It is also necessary to add that the end='' parameter does not move the cursor to a new line and the next print is printed right there. - Enikeyschik