| n = 1 | |
| while n: | |
| str = input() | |
| #print('Case no# %d :'%n) | |
| if str == '*': | |
| break | |
| if str == 'Hajj': | |
| print("Case %d: Hajj-e-Akbar"%n) | |
| elif str == 'Umrah': | |
| print("Case %d: Hajj-e-Asghar"%n) | |
| n = n+1 |
Subscribe to:
Post Comments (Atom)
-
import sys from PyQt4 import QtGui class Example(QtGui.QWidget): def __init__(self): super(Example,self).__init__() ...
-
/*** Md. Nazmul Hasan Shahjalal University of Science & Technology,Sylhet. hasan08sust@gmail.com ***/ #include<iostream> #include...
-
from sys import stdin scan = lambda : stdin.readline() test = int (scan()) for case in range ( 1 , test+ 1 ): text = scan() count...
No comments:
Post a Comment