Computer Science, asked by s100248sis, 8 months ago

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 pmkuthegmailcom
0

Answer:

using Strings Slicing in python

x = "NEPAL"

print(x)

print(x[1:-1])

print(x[2:-2])

Similar questions