Lesson 6 of 34
Strings: ಪಠ್ಯದೊಂದಿಗೆ ಕೆಲಸ
9 min 20 XP
Strings ಜೊತೆಗೆ ಉಪಯುಕ್ತ tools ಬರುತ್ತವೆ: upper() ದೊಡ್ಡ ಅಕ್ಷರಗಳನ್ನು, lower() ಸಣ್ಣ ಅಕ್ಷರಗಳನ್ನು ಮಾಡುತ್ತದೆ, len() ಅಕ್ಷರಗಳನ್ನು ಎಣಿಸುತ್ತದೆ.
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.f-string ಬಳಸಿ variables ಅನ್ನು ನೇರವಾಗಿ ಪಠ್ಯದಲ್ಲಿ ಇಡಬಹುದು: quotes ಮೊದಲು f ಬರೆದು, variable ಅನ್ನು { } ಒಳಗೆ ಇಡಿ.
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.Index 0 ಯಿಂದ ಆರಂಭವಾಗುತ್ತದೆ: name[0] ಮೊದಲ ಅಕ್ಷರ, name[-1] ಕೊನೆಯ ಅಕ್ಷರ.