Computer Science, asked by isgu1289, 11 hours ago

Write a Program to print all the characters in the string ‘PYTHON’ using while loop
(in python)

Answers

Answered by samarthkrv
1

Answer:

s = "PYTHON"

i = 0

while(i < len(s)):

   print(s[i])

   i+=1

Explanation:

Similar questions