Skip to main content
Skip to content

Output keyword

chhap — print (alias of bol)

chhap prints values exactly like bol does. It exists so you can pick the word that feels natural.

Meaning: "print" — as in a printing press

How chhap works

chhap takes the same arguments as bol, formats them the same way and prints one line per call. Mixing the two in one program is fine.

Some learners use chhap for final results and bol for progress messages, purely as a reading aid — the interpreter treats them identically.

Syntax

syntax
chhap(value1, value2, ...);

Runnable example

Expected output

Press Run to try it

Jawab hai 42bol aur chhap ek jaise hain

Same idea in JavaScript and Python

JavaScript
const jawab = 6 * 7;
console.log("Jawab hai", jawab);
Python
jawab = 6 * 7
print("Jawab hai", jawab)

Common mistakes

Spelling it chaap or chap

Only chhap (with double h) is a keyword. Any other spelling is treated as an unknown variable name.

Galat
chap("Hello");
Sahi
chhap("Hello");

chhap: frequently asked questions

Is chhap faster or different from bol?

No. Both run through the same print routine and produce identical output.