The number of tokens in the following line:
for i in range(begin : end : step) :
Tokens are the smallest meaningful units of a program.
Break the statement:
for | i | in | range | ( | begin | : | end | : | step | ) | :
Tokens:
for
i
in
range
(
begin
:
end
:
step
)
:
Total tokens = 12
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.