درسها
صفحه من
برترین ها
پیام ها
اعلان ها
نمایه سازی منفی(Negative Indexing)
توسط :
اکبر خلیل زاده
در تاریخ
1402/10/16
ساعت
09:28
مثال
Get the characters from position 5 to position 1, starting the count from
the end of the string:
b = "Hello, World!"
print(b[-5:-2])