Skip to main content
Skip to content

Basics · Beginner

Hello World Program in Hinglish: Namaste

Basic output, variable declarations, strings, and arithmetic.

The program

Edit anything and press Run. The output below was produced by running this exact code.

Expected output

Press Run to try it

Namaste, Developer Bhai !Aapki umar hai: 25 saalVritt ka kshetrafal: 154

How it works

This is the program most people run first. Two variables are created with rakho — one holds text, one holds a number — and bol prints them. When you give bol several values separated by commas, it prints them on one line with a space between each.

The second half shows that AltFLang is a real calculator too. ganit.PI is the constant pi, and ganit.round rounds the area of a circle with radius 7 to the nearest whole number, which is why the output says 154 rather than a long decimal.

Try changing nama to your own name and trijya to another radius, then run it again.