தொடக்கநிலை வழிகாட்டி·Zero to Hero

Python அடிப்படைகள்: தொடக்கநிலையாளர்களுக்கு முழு வழிகாட்டி

இந்த வழிகாட்டியில் Python-ன் அடிப்படைகள் அனைத்தையும் ஒரே இடத்தில் பார்க்கலாம். ஒவ்வொரு பகுதியிலும் உள்ள code-ஐ இந்தப் பக்கத்திலேயே Run செய்து பாருங்கள்.

SPSkill Park AcademyErode · Chennai 12 நிமிட வாசிப்பு புதுப்பிக்கப்பட்டது 6 Oct 2026

1. print(): திரையில் காட்டுதல்

print() உள்ளே எழுதியதைத் திரையில் காட்டும். Text-ஐ quotes உள்ளே எழுத வேண்டும்.

நீங்களே முயற்சி செய்யுங்கள்

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

2. Variables மற்றும் data types

Variable மதிப்புகளைச் சேமிக்கும். முக்கிய types: int (முழு எண்), float (தசம எண்), str (text), bool (True/False).

நீங்களே முயற்சி செய்யுங்கள்

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

3. input(): user-இடமிருந்து படித்தல்

input() எப்போதும் text-ஐத் தரும். எண் வேண்டுமெனில் int() மூலம் மாற்றுங்கள்.

நீங்களே முயற்சி செய்யுங்கள்

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

4. Operators

+ - * / கணக்கீடுகள்; // முழு எண் வகுத்தல்; % மீதி; ** அடுக்கு.

நீங்களே முயற்சி செய்யுங்கள்

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

5. if, elif, else: முடிவெடுத்தல்

Python-ல் indentation (வரி முன் இடைவெளி) முக்கியம்; அது எந்த code if-க்குள் உள்ளது என்று சொல்லும்.

நீங்களே முயற்சி செய்யுங்கள்

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

6. Loops: for மற்றும் while

for ஒரு வரிசையில் உள்ள ஒவ்வொன்றுக்கும் இயங்கும்; while condition true ஆக இருக்கும் வரை இயங்கும்.

நீங்களே முயற்சி செய்யுங்கள்

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

7. Lists மற்றும் dictionaries

List பல மதிப்புகளை வரிசையாகச் சேமிக்கும்; dictionary key-value ஜோடிகளாகச் சேமிக்கும்.

நீங்களே முயற்சி செய்யுங்கள்

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

8. Functions

def மூலம் function உருவாக்கி, மீண்டும் மீண்டும் பயன்படுத்தலாம்.

நீங்களே முயற்சி செய்யுங்கள்

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

அடுத்து என்ன?

இந்த அடிப்படைகளை ஒவ்வொன்றாக, challenges உடன் பயிற்சி செய்ய Skill Park-ன் இலவச Python course-ஐத் தொடங்குங்கள். பிறகு practice problems மற்றும் mock tests மூலம் உங்கள் Skilled-score-ஐ உயர்த்துங்கள்.

அடிக்கடி கேட்கப்படும் கேள்விகள்

Python அடிப்படைகளைக் கற்க எத்தனை நாள் ஆகும்?

தினமும் 30 நிமிடம் கற்றால் 2–3 வாரங்களில் அடிப்படைகள் புரியும்.

Indentation error என்றால் என்ன?

if, for, def போன்றவற்றின் உள்ளே உள்ள வரிகளுக்குச் சரியான இடைவெளி (4 spaces) இல்லாதபோது வரும் பிழை.

Python-ல் list மற்றும் tuple வேறுபாடு என்ன?

List-ஐ மாற்றலாம்; tuple-ஐ மாற்ற முடியாது.

மேலும் படியுங்கள்