Lesson 1 of 6

உங்கள் முதல் Python ProgramYour First Python Program

5 min 20 XP

Python-ல் திரையில் (screen) எதையாவது காட்ட print() பயன்படுத்துகிறோம். கீழே உள்ள program-ஐ Run செய்து பாருங்கள். இதுதான் உங்கள் முதல் program!

In Python, we use print() to show something on the screen. Run the program below. This is your first program!

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

எழுத்துகளை (text) எப்போதும் quotes " " உள்ளே எழுத வேண்டும். இதை string என்று அழைக்கிறோம். எண்களுக்கு (numbers) quotes தேவையில்லை, Python அவற்றைக் கணக்கிடும்.

Text must always be written inside quotes " ". We call this a string. Numbers don't need quotes, and Python calculates them.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

ஒவ்வொரு print()-ம் அதன் output-ஐ புதிய வரியில் (new line) காட்டும்.

Each print() shows its output on a new line.