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
chhap(value1, value2, ...);Runnable example
Same idea in JavaScript and Python
const jawab = 6 * 7;
console.log("Jawab hai", jawab);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.
chap("Hello");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.