fork download
  1. # your code goes here
Success #stdin #stdout 0.12s 14148KB
stdin
text = "ajsdmmkkkddoimd"

 seek(3); read(5);
position = 3
length = 5
result1 = text[position:position+length]

seek(5); read(3);
position = 5
length = 3
result2 = text[position:position+length]

 seek(0); read(1);
position = 0
length = 1
result3 = text[position:position+length]


print("1-жағдай:", result1)  # "dmmkk"
print("2-жағдай:", result2)  # "mkk"
print("3-жағдай:", result3)  # "a"
stdout
Standard output is empty