This code is incorrect and will cause an error when you try to run it. The code defines an empty function named [code]this_code_is_wrong[/code]. To work, the function should use the [code]return[/code] keyword. But this keyword is currently inside a comment, which the computer ignores. Test the current code by pressing the [i]Run[/i] button. Then, remove the comment sign (#) to make the code valid. Be careful not to remove the spacing before [code]return[/code]! Otherwise, that'll cause another error. You may try that too, if you feel like it.
Tento kód je nesprávný a při pokusu o jeho spuštění dojde k chybě. Kód definuje prázdnou funkci s názvem [code]this_code_is_wrong[/code]. Aby funkce fungovala, měla by používat klíčové slovo [code]return[/code]. Toto klíčové slovo je však v současné době uvnitř komentáře, který počítač ignoruje. Otestujte aktuální kód stisknutím tlačítka [i]Run[/i]. Poté odstraňte znak komentáře (#), aby byl kód platný. Dejte pozor, abyste neodstranili mezeru před [code]return[/code]! Jinak to způsobí další chybu. Ale můžete si zkusit způsobit i tuto chybu ;-)
This code is incorrect and will cause an error when you try to run it. The code defines an empty function named [code]this_code_is_wrong[/code]. To work, the function should use the [code]return[/code] keyword. But this keyword is currently inside a comment, which the computer ignores. Test the current code by pressing the [i]Run[/i] button. Then, remove the comment sign (#) to make the code valid. Be careful not to remove the spacing before [code]return[/code]! Otherwise, that'll cause another error. You may try that too, if you feel like it.
The code defines an empty function named [code]this_code_is_wrong[/code].
To work, the function should use the [code]return[/code] keyword. But this keyword is currently inside a comment, which the computer ignores.
Test the current code by pressing the [i]Run[/i] button.
Then, remove the comment sign (#) to make the code valid.
Be careful not to remove the spacing before [code]return[/code]! Otherwise, that'll cause another error. You may try that too, if you feel like it.
Kód definuje prázdnou funkci s názvem [code]this_code_is_wrong[/code].
Aby funkce fungovala, měla by používat klíčové slovo [code]return[/code]. Toto klíčové slovo je však v současné době uvnitř komentáře, který počítač ignoruje.
Otestujte aktuální kód stisknutím tlačítka [i]Run[/i].
Poté odstraňte znak komentáře (#), aby byl kód platný.
Dejte pozor, abyste neodstranili mezeru před [code]return[/code]! Jinak to způsobí další chybu. Ale můžete si zkusit způsobit i tuto chybu ;-)