Computer Science, asked by sony04, 4 months ago

Keywords in Python are significant. Justify and list atleast 4 of them ​

Answers

Answered by rpvvipex912152
1

Answer:

KeywordDescriptionandA logical operatorasTo create an aliasassertFor debuggingbreakTo break out of a loopclassTo define a classcontinueTo continue to the next iteration of a loopdefTo define a functiondelTo delete an objectelifUsed in conditional statements, same as else ifelseUsed in conditional statementsexceptUsed with exceptions, what to do when an exception occursFalseBoolean value, result of comparison operationsfinallyUsed with exceptions, a block of code that will be executed no matter if there is an exception or notforTo create a for loopfromTo import specific parts of a moduleglobalTo declare a global variableifTo make a conditional statementimportTo import a moduleinTo check if a value is present in a list, tuple, etc.isTo test if two variables are equallambdaTo create an anonymous functionNoneRepresents a null valuenonlocalTo declare a non-local variablenotA logical operatororA logical operatorpassA null statement, a statement that will do nothingraiseTo raise an exceptionreturnTo exit a function and return a valueTrueBoolean value, result of comparison operationstryTo make a try...except statementwhileTo create a while loopwithUsed to simplify exception handlingyieldTo end a function, returns a generat

Similar questions