13 января 2023
daisyтекст ещё не в индексе
Oh... I'm just seeing this.
For the first line which is variable declaration, the values on the right hand side was passed to the variables on the left. a became 5, c became 3.5, but the second c declaration overloaded the first c and it changed to "invaders".
For the print statement, it has an optional parameter called sep, which is simply the separator character to be used when multiple arguments are passed to the print function.
The sep by default is a space character.
Also when python is printing a string, it prints it without the quotation marks.
That's the reason it will display the same as option A