Pa

Report a typo

Write a program that will match all the words with 1 or more occurrences of "pa" in a text.

Sample Input 1:

papa paparazzi pan power

Sample Output 1:

papa
paparazzi
pan
Write a program in Kotlin
fun main() {
val text = readln()
// write your code here

}
___

Create a free account to access the full topic