M. N. Hasan
05 December 2017
UVA 12577 - Hajj-e-Akbar (python)
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
UVA 10679 - I Love Strings!!
No comments:
Post a Comment