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] শেষ অক্ষর।