No products in the cart.

What do you mean by tokens …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

What do you mean by tokens In python ? Name the tokens available in python ?
  • 2 answers

Ananya Shukla 4 years, 3 months ago

These are the smallest individualunit in a program are called as token or lexical unit . They are symbols used in programming language to organize sentence structures to indicate the program structure , expressions etc. 1) Keywords 2)Identifiers 3) Literals 4) Operators 5)Puncuators

Yogita Ingle 4 years, 3 months ago

Tokens are the smallest unit of the program.

1. keywords

keywords are nothing but a set of special words, which are reserved by Python and have specific meaning.

2. identifier

identifier in Python are nothing but user defined name to represent programmable entity like variable, function, classes, modules or any object.

3. literals

the other built in object in Python are literal. literal can be define as data that is given in a variable or constant. Python has following literal:-

(a) string

(b) numeric

(c) boolean

(d) collection

4. operators

operators are the symbols which performs the operation on some values. these values are known as operand.

http://mycbseguide.com/examin8/

Related Questions

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App