Post

Marcel Velica
Marcel Velica@MarcelVelica·
@Python_Dv It will throw an Error in Python, False is a reserved keyword and cannot be reassigned.
English
0
0
0
51
Reeti Patel
Reeti Patel@CraftWithReeti·
@Python_Dv Answer:- (D) Error This code has an error because False is a fixed keyword in Python, and you are not allowed to change it with False = True.
English
0
0
0
115
Shahrouz Nikseresht
Shahrouz Nikseresht@Shahrouzlogs·
@Python_Dv D. Error You can't assign True to False, it's a reserved keyword in Python, causing a SyntaxError.
English
0
0
0
172
Luna
Luna@LunaElsa126129·
@Python_Dv Since False and True are keywords , it will show error . There are certain rules for naming conventions of variable.
English
0
0
0
132
A  H
A H@habdir·
@Python_Dv D. Error. You cannot reassign False since its keyword.
English
0
0
0
239
Joe LoMoglio
Joe LoMoglio@joeylomoglio·
@Python_Dv Error, if False is True and while it’s True print without changing it to false will create an infinite loop
English
0
0
0
117
Zahra
Zahra@ZahraHakimi81·
@Python_Dv In Python, Boolean values are represented by True and False. These values cannot be directly assigned to variables or used in expressions as if they were equal to other types of data... D.Error
English
0
0
0
23
Kamlesh ® ©
Kamlesh ® ©@kamleshrao·
@Python_Dv In Python 3 it will give Error. In Python 2 it will print True
English
0
0
0
122
Almas Islam
Almas Islam@almas39537·
@Python_Dv D. Error Python doesn't allow use of reserved words as a variable name,so it will encounter SyntaxError at the very first line of code,rest of the code is not executed.
English
0
0
0
8
Paylaş