Keyword

04.08 Input and import

Input and import Input in python using input() function We were assigning the values to the variable before we run the program but what if we want value from the user rather than pre-defining it. Here we use the input() function which allows the user to input the values in the program. Here are something …

04.08 Input and import Read More »

03.13 None and Bool

None and Bool None The None keyword is used to define a null value or no value at all. In Python, None keyword is an object, and it is a data type of the class NoneType. None is not the same as 0, False, or an empty string. None is a data type of its own …

03.13 None and Bool Read More »

09.12. Final Keyword

Eclipse: Oxygen Java: 1.8 Final Keyword Final keyword can be applied to variables, methods, classes, etc. It is used in various contexts to define an entity that can only be assigned once. Once a final variable has been assigned, the variable cannot be changed. Therefore, the user tries to change the value using the setter …

09.12. Final Keyword Read More »