Skip to content

Commit f8ca148

Browse files
committed
SPOJ Problems
1 parent fd3dbc3 commit f8ca148

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Input
2+
#
3+
# Given a positive integer 0 < x < 50.
4+
#
5+
# Output
6+
#
7+
# Print one word: Wo...ow (letter o must be repeted x times).
8+
#
9+
# Example 1
10+
#
11+
# Input:
12+
# 1
13+
#
14+
# Output:
15+
# Wow
16+
# Example 2
17+
#
18+
# Input:
19+
# 7
20+
#
21+
# Output:
22+
# Wooooooow
23+
24+
check = int(input())
25+
print('W' + check * 'o' + 'w')

0 commit comments

Comments
 (0)