#P574. 數式興奮

數式興奮

題目描述

NO MATH, NO LIFE!!!

請同學設計一款python程序,當用戶輸入的資料當中含有「math」的關鍵字(math不區分大小寫),程序則輸出「IS MATH!」,否則輸出「NO MATH, NO LIFE!!!」。

輸入格式

一行輸入任意資料。

輸出格式

當用戶輸入的資料當中含有「math」的關鍵字(math不區分大小寫),程序則輸出「IS MATH!」,否則輸出「NO MATH, NO LIFE!!!」。

Samples

No Math, No Life.
IS MATH!
Hey! Matthew! It's long time that I haven't seen you!
NO MATH, NO LIFE!!!
A straight line is the shortest in morals as in mathematics.
IS MATH!
LOTTERY - A TAX ON PEOPLE WHO ARE BAD AT MATH.
IS MATH!

原始資料

  • Zero1 題號:a574
  • Hydro 題號:Z0574
  • Locale:zh_TW
  • Display:open