0

Key word

What are key word in Python

31st Aug 2020, 3:45 AM
Bhupendra Singh
Bhupendra Singh - avatar
3 Answers
+ 4
Help is there always to help you Run the Bellow code in python itself to get python keywords help("keywords")
31st Aug 2020, 3:49 AM
Ayush Kumar
Ayush Kumar - avatar
+ 4
Keywords are reserved words which you are not allowed to redefine / override, you cannot use them as variable names etc. They represent the fundamental syntax of the language. from keyword import kwlist print(kwlist)
31st Aug 2020, 3:52 AM
Tibor Santa
Tibor Santa - avatar
+ 2
Bhupendra Singh False; True; None; and; with; as; assert; break; class; continue; def; del; elif; else; except; finally; try; for; from; global; if; import; in; is; lambda; nonlocal; not; or; pass; raise; return; while; yield.
31st Aug 2020, 5:18 AM
Petr