Lesson 1 of 34
ನಿಮ್ಮ ಮೊದಲ Python ಪ್ರೋಗ್ರಾಂ
5 min 20 XP
Python ನಲ್ಲಿ ಪರದೆಯ ಮೇಲೆ ಏನನ್ನಾದರೂ ತೋರಿಸಲು print() ಬಳಸುತ್ತೇವೆ. ಕೆಳಗಿನ ಪ್ರೋಗ್ರಾಂ ಅನ್ನು Run ಮಾಡಿ. ಇದೇ ನಿಮ್ಮ ಮೊದಲ ಪ್ರೋಗ್ರಾಂ!
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.ಪಠ್ಯವನ್ನು ಯಾವಾಗಲೂ quotes " " ಒಳಗೆ ಬರೆಯಬೇಕು. ಇದನ್ನು string ಎನ್ನುತ್ತಾರೆ. ಸಂಖ್ಯೆಗಳಿಗೆ quotes ಬೇಕಿಲ್ಲ, Python ಅವುಗಳನ್ನು ಲೆಕ್ಕ ಹಾಕುತ್ತದೆ.
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.ಪ್ರತಿ print() ತನ್ನ output ಅನ್ನು ಹೊಸ ಸಾಲಿನಲ್ಲಿ ತೋರಿಸುತ್ತದೆ.