Print Yes if the input word can be considered as the string zoo otherwise, print No

  python

You are required to enter a word that consists of and that denote the number of Zs and Os respectively. The input word is considered similar to word zoo if .

Source: Python Questions

LEAVE A COMMENT