Post

@PythonPr Answer: e) PytnuF
Step by step:
› "Python"[0:3] = "Pyt" (first 3 chars)
› "Fun"[::-1] = "nuF" (reversed)
› "Pyt" + "nuF" = "PytnuF"
For beginners: [::-1] is the reverse trick! The -1 step means "go backwards". [0:3] gets indices 0,1,2 (stops BEFORE 3).
English

@PythonPr e) option because the first slice will give Pyt and the second is reverse of Fun which gives nuF so the final answer is PytnuF
English

@PythonPr Ans: e) PytnuF
"Python" [0:3]
string slicing format start: end
start index 0-- 'p'
index 3 not included = Pyt
"Fun"[::-1]
[::-1] means reverse the string= nuF
finally ans: PytnuF
Dansk

@PythonPr 1 : python [0:3] takes indices 0, 1, and 2, giving us pyt 👉 the end index is exclusive ✌️
2 : fun [::-1] uses a negative step to reverse the string, giving us nuF.
3 : concatenate them: pytnuF.
English

















