Predict the output.(Python)
x=”FanTasy1050” print(x[3:] , “and” ,x[-4:-1]) print(x[2:9] , “and” ,x[-7:])
Answers
Answered by
0
Answer:
Tasy1050 and 105
nTasy10 and asy1050
Explanation:
Use separate print statement
use proper indentation to get proper output
Similar questions
Math,
2 months ago
English,
2 months ago
Math,
5 months ago
Social Sciences,
5 months ago
English,
11 months ago
English,
11 months ago
Computer Science,
11 months ago