Python
What is th ...
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
What is the purpose of a single underscore _ in Python variables name?
It indicates that variable is immutable
It raises a flag to other developers that this variable is important
It indicates that variable is of complex data type
It indicates that this variable is always passed by reference
It makes variable protected in a sense of many programming languages
Explanation
Single underscore in variable name is an analogue of making variable “protected” by analogy with many other programming languages. Such variables are not imported when “from my_module import *” is used
Подобається
Ввійдіть
щоб вподобати
Комментувати
Ввійдіть
щоб прокоментувати
Поширити
Tweet
Тести з
P
ython
Приєднуйся і вивчай Python
або
Дізнайся більше про
Тести з Python онлайн
Слідкуй за CodeGalaxy
Мобільний додаток Beta
Зворотній Зв’язок
Продовжуйте вивчати
тести з Python
What will be the result of code execution? var obj = { "first":"first", "2":"2", "34":"34", "1":"1", "second":"second" }; for (var i in obj) { alert(i); };
What will be the result of code execution? (function(){ return typeof arguments; })();
What will be the result of code execution? console.log(typeof x, typeof String, typeof String.prototype, typeof String.prototype['concat']);
Consider following HTML snippet: <p> <span>Something_1</span> <span>Something_2</span> </p> What will be the result of the execution following code? $('span').wrapAll('<div></div>');
Which sign does jQuery use as a shortcut for jQuery?
Consider following HTML snippet: <p>first paragraph<p> <p>second paragraph<p> <p>third paragraph<p> What is the correct jQuery code to set the background color of all p elements to red?
Зареєструйся Зараз
або
Підпишись на майбутні тести
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати