WAP to give the following outputs in the given pattern using Declare Function.
NEPAL
EPA
P
[Note: use Tab function]
help me pleaseee!!!!!!
Answers
Answered by
0
Answer:
using Strings Slicing in python
x = "NEPAL"
print(x)
print(x[1:-1])
print(x[2:-2])
Similar questions