Computer Applications

In the following code a = '5'. a is a …………… :

  1. int
  2. string
  3. float
  4. number

Python Funda

1 Like

Answer

string

Reason — A string literal is always enclosed in single quotes or double quotes.

Answered By

2 Likes


Related Questions