Computer Science, asked by dishara, 5 months ago

module programming to print
B
BO
BOO
BOOK​

Answers

Answered by atulkumargpt
2

Answer:

# python program

a = "BOOK"

for i in range(0, 4) :

print(a[:i])

Similar questions