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] చివరి అక్షరం.