✏️ Explanatory Question

Python Character Set এবং Python Tokens কী? Types ব্যাখ্যা করো।

👁 0 Views
📘 Detailed Answer
🟢 Easy
0
Total Views
10
Related Qs
0%
Progress
💡

Answer with Explanation

Character Set:

Python-এ valid characters-এর collection।

  • Alphabets (A-Z, a-z)
  • Digits (0-9)
  • Special symbols (+, -, *, etc.)
  • Whitespace

Tokens:

Tokens হলো program-এর smallest meaningful unit।

Types of Tokens:

  • Keyword: Reserved word (if, else, for)
  • Identifier: Variable/function নাম
  • Literal: Fixed value (10, "hello")
  • Operator: (+, -, *)
  • Punctuator: (), {}, []