Computer Science, asked by sarinsergiev, 5 months ago

Predict the output.(Python)
x=”FanTasy1050” print(x[3:] , “and” ,x[-4:-1]) print(x[2:9] , “and” ,x[-7:])

Answers

Answered by madhalaimuthucharlas
0

Answer:

Tasy1050 and 105

nTasy10 and asy1050

Explanation:

Use separate print statement

use proper indentation to get proper output

Similar questions