s_id
stringlengths 10
10
| p_id
stringlengths 6
6
| u_id
stringlengths 10
10
| date
stringlengths 10
10
| language
stringclasses 1
value | original_language
stringclasses 11
values | filename_ext
stringclasses 1
value | status
stringclasses 1
value | cpu_time
int64 0
100
| memory
stringlengths 4
6
| code_size
int64 15
14.7k
| code
stringlengths 15
14.7k
| problem_id
stringlengths 6
6
| problem_description
stringlengths 358
9.83k
| input
stringlengths 2
4.87k
| output
stringclasses 807
values | __index_level_0__
int64 1.1k
1.22M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s622777239
|
p00020
|
u452212317
|
1436154113
|
Python
|
Python
|
py
|
Accepted
| 10
|
4184
| 31
|
x = raw_input().upper()
print x
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,002
|
s623976855
|
p00020
|
u676401384
|
1437553486
|
Python
|
Python
|
py
|
Accepted
| 10
|
4176
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,003
|
s089097548
|
p00020
|
u361804125
|
1437553876
|
Python
|
Python
|
py
|
Accepted
| 10
|
4176
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,004
|
s097518512
|
p00020
|
u883062308
|
1438591253
|
Python
|
Python3
|
py
|
Accepted
| 30
|
6720
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,005
|
s973331587
|
p00020
|
u071010747
|
1445248570
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7364
| 135
|
# -*- coding:utf-8 -*-
def main():
IN=input()
IN.upper()
print(IN.upper())
if __name__ == '__main__':
main()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,006
|
s131575508
|
p00020
|
u775586391
|
1448331958
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7332
| 32
|
l =input()
a =l.upper()
print(a)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,007
|
s857244623
|
p00020
|
u461370825
|
1449741739
|
Python
|
Python
|
py
|
Accepted
| 10
|
6348
| 351
|
from math import *
PI = 3.1415926535898
while True:
try:
s = str(raw_input())
res = ""
for a in s:
if a.isalpha():
c = chr(ord(a) + ord('A') - ord ('a'))
if ord(c) > ord('Z'):
c = chr(ord(c) - 26)
elif ord(c) < ord('A'):
c = chr(ord(c) + 26)
res += c
else:
res += a
print res
except EOFError:
break
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,008
|
s165238324
|
p00020
|
u747479790
|
1449854829
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7392
| 25
|
print(input().swapcase())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,009
|
s219435266
|
p00020
|
u560214129
|
1450436796
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7392
| 36
|
string=input()
print(string.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,010
|
s107852676
|
p00020
|
u825618558
|
1451572467
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7332
| 105
|
import sys
line = sys.stdin.readline()
ret = ""
for s in line:
ret += s.upper()
print (ret, end="")
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,011
|
s473603594
|
p00020
|
u749493116
|
1452444847
|
Python
|
Python
|
py
|
Accepted
| 10
|
6416
| 81
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
ans = raw_input()
print ans.upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,012
|
s000373176
|
p00020
|
u777299405
|
1453612138
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7400
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,013
|
s429621454
|
p00020
|
u512342660
|
1455473543
|
Python
|
Python
|
py
|
Accepted
| 10
|
6200
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,014
|
s284204588
|
p00020
|
u075836834
|
1458510880
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7332
| 36
|
string=input()
print(string.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,015
|
s827174413
|
p00020
|
u650459696
|
1458572318
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7372
| 45
|
print(''.join(str.upper(c) for c in input()))
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,016
|
s514126435
|
p00020
|
u811773570
|
1458709841
|
Python
|
Python
|
py
|
Accepted
| 10
|
6428
| 47
|
#coding:utf-8
s = raw_input()
print(s.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,017
|
s308723982
|
p00020
|
u148101999
|
1459229368
|
Python
|
Python
|
py
|
Accepted
| 10
|
6356
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,018
|
s842064299
|
p00020
|
u966364923
|
1459426360
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7304
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,019
|
s519603713
|
p00020
|
u130979865
|
1459946052
|
Python
|
Python
|
py
|
Accepted
| 10
|
6420
| 55
|
# -*- coding: utf-8 -*-
print str(raw_input()).upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,020
|
s017782209
|
p00020
|
u572790226
|
1460300385
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7476
| 34
|
text = input()
print(text.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,021
|
s211743995
|
p00020
|
u529386725
|
1461626557
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7292
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,022
|
s295675055
|
p00020
|
u376883550
|
1461816399
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7328
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,023
|
s104350729
|
p00020
|
u894114233
|
1461817791
|
Python
|
Python
|
py
|
Accepted
| 10
|
6240
| 26
|
print(raw_input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,024
|
s139827749
|
p00020
|
u074121480
|
1463065824
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7440
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,025
|
s694023274
|
p00020
|
u957021485
|
1465622977
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7328
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,026
|
s597602550
|
p00020
|
u203261375
|
1466431373
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7252
| 26
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,027
|
s061548799
|
p00020
|
u766477342
|
1466813351
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7312
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,028
|
s907016594
|
p00020
|
u300946041
|
1468675063
|
Python
|
Python3
|
py
|
Accepted
| 40
|
7444
| 160
|
# -*- coding: utf-8 -*-
def main(_text: str):
print(_text.upper())
while True:
try:
text = input()
except:
break
main(text)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,029
|
s235507388
|
p00020
|
u896025703
|
1469540757
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7244
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,030
|
s338263722
|
p00020
|
u582608581
|
1471234168
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7296
| 25
|
print(input().swapcase())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,031
|
s176461846
|
p00020
|
u358919705
|
1471979739
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7352
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,032
|
s528680321
|
p00020
|
u589886885
|
1472108931
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7384
| 28
|
s = input()
print(s.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,033
|
s779834706
|
p00020
|
u379499530
|
1473050538
|
Python
|
Python
|
py
|
Accepted
| 10
|
6340
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,034
|
s965501318
|
p00020
|
u058433718
|
1473921856
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7484
| 149
|
# ??¢??????????????????????°????????????§?????????????????????????????°??????
import sys
data = sys.stdin.readline().strip()
print(data.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,035
|
s837431350
|
p00020
|
u964040941
|
1479223132
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7392
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,036
|
s760625315
|
p00020
|
u922871577
|
1479285746
|
Python
|
Python
|
py
|
Accepted
| 10
|
6212
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,037
|
s951707893
|
p00020
|
u660912567
|
1480086941
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7372
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,038
|
s890004280
|
p00020
|
u301729341
|
1481020825
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7344
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,039
|
s171820486
|
p00020
|
u123687446
|
1481292559
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7200
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,040
|
s497094197
|
p00020
|
u898097781
|
1481390369
|
Python
|
Python
|
py
|
Accepted
| 10
|
6180
| 31
|
s = raw_input()
print s.upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,041
|
s079438096
|
p00020
|
u811733736
|
1481604252
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7360
| 127
|
import sys
if __name__ == '__main__':
# ??????????????\???
for line in sys.stdin:
print(line.strip().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,042
|
s485340820
|
p00020
|
u078042885
|
1481653575
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7352
| 26
|
x=input().upper()
print(x)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,043
|
s618681505
|
p00020
|
u546285759
|
1481963828
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7332
| 25
|
print(input().swapcase())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,044
|
s944079431
|
p00020
|
u811773570
|
1482153350
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7368
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,045
|
s233415928
|
p00020
|
u661290476
|
1482221374
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7324
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,046
|
s319792741
|
p00020
|
u711765449
|
1484412462
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7400
| 33
|
s = str(input())
print(s.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,047
|
s125972444
|
p00020
|
u252414452
|
1486044260
|
Python
|
Python
|
py
|
Accepted
| 10
|
6408
| 35
|
print(raw_input().rstrip().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,048
|
s679033480
|
p00020
|
u797673668
|
1486717199
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7296
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,049
|
s090221134
|
p00020
|
u901080241
|
1488966280
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7300
| 31
|
print(input().rstrip().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,050
|
s067175017
|
p00020
|
u897625141
|
1489972344
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7332
| 34
|
line = input()
print(line.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,051
|
s159506714
|
p00020
|
u728901930
|
1490858856
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7536
| 130
|
import sys
import math as mas
print(str.upper(input()))
#for i in sys.stdin:
# a,b=map(int,i.split())
# print(gcd(a,b),lcm(a,b))
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,052
|
s780308590
|
p00020
|
u518711553
|
1491502363
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7940
| 109
|
from functools import reduce
from operator import add
print(reduce(add, map(str.capitalize, input()[:]), ''))
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,053
|
s951847141
|
p00020
|
u462831976
|
1492715730
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7392
| 69
|
# -*- coding: utf-8 -*-
import sys
import os
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,054
|
s628434837
|
p00020
|
u868716420
|
1494198758
|
Python
|
Python3
|
py
|
Accepted
| 40
|
8008
| 176
|
from string import ascii_lowercase
case, test, result = ascii_lowercase, input(), ''
for _ in test :
if _ in case : result += _.upper()
else : result += _
print(result)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,055
|
s370402487
|
p00020
|
u618637847
|
1494900541
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7240
| 26
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,056
|
s900384924
|
p00020
|
u362104929
|
1496398730
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7404
| 160
|
sentence = input()
ans = ""
a = ord("a")
z = ord("z")
for s in sentence:
if a <= ord(s) <= z:
ans += s.upper()
else:
ans += s
print(ans)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,057
|
s560939313
|
p00020
|
u905313459
|
1496408992
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7316
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,058
|
s108976552
|
p00020
|
u519227872
|
1496586070
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7452
| 54
|
print(''.join(list(map(lambda i: i.upper(),input()))))
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,059
|
s368020518
|
p00020
|
u957840591
|
1497488115
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7376
| 30
|
str=input()
print(str.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,060
|
s218569374
|
p00020
|
u568287817
|
1497924567
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7392
| 34
|
s = input()
s = s.upper()
print(s)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,061
|
s087514793
|
p00020
|
u546285759
|
1500940414
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7432
| 45
|
print("".join(list(map(str.upper, input()))))
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,062
|
s852997463
|
p00020
|
u498511622
|
1501478432
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7256
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,063
|
s313804673
|
p00020
|
u354053070
|
1501981458
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7300
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,064
|
s642395697
|
p00020
|
u821624310
|
1502620988
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7376
| 28
|
s = input()
print(s.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,065
|
s151182928
|
p00020
|
u584777171
|
1503362642
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7324
| 28
|
s = input().upper()
print(s)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,066
|
s505130707
|
p00020
|
u957021183
|
1504775420
|
Python
|
Python3
|
py
|
Accepted
| 50
|
7500
| 191
|
# Aizu Problem 0020: Capitalize
#
import sys, math, os
# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
sys.stdin = open("sample-input.txt", "rt")
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,067
|
s568271111
|
p00020
|
u184989919
|
1505041275
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7276
| 22
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,068
|
s647398561
|
p00020
|
u236679854
|
1506116023
|
Python
|
Python3
|
py
|
Accepted
| 20
|
7352
| 32
|
str = input()
print(str.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,069
|
s581225989
|
p00020
|
u219286587
|
1506679740
|
Python
|
Python3
|
py
|
Accepted
| 30
|
7428
| 23
|
print(input().upper());
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,070
|
s938103915
|
p00020
|
u928329738
|
1511742553
|
Python
|
Python3
|
py
|
Accepted
| 50
|
7320
| 28
|
s = input()
print(s.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,071
|
s238271441
|
p00020
|
u548155360
|
1512399061
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 78
|
# coding=utf-8
sentence = input()
sentence = sentence.upper()
print(sentence)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,072
|
s193490545
|
p00020
|
u299798926
|
1513124648
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5560
| 147
|
import sys
a = 'abcdefghijklmnopqrstuvwxyz'
b = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
for s in sys.stdin:
t= s[:-1].translate(str.maketrans(a,b))
print(t)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,073
|
s203158221
|
p00020
|
u205327055
|
1513208355
|
Python
|
Python
|
py
|
Accepted
| 10
|
4620
| 55
|
# -*- coding:utf-8 -*-
a=raw_input()
print a.upper(),
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,074
|
s467400334
|
p00020
|
u917432951
|
1513327871
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 76
|
if __name__ == "__main__":
tmp_txt = input()
print(tmp_txt.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,075
|
s543092577
|
p00020
|
u600263347
|
1514772452
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 92
|
def main():
str = input()
print(str.upper())
if __name__ == '__main__':
main()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,076
|
s552926740
|
p00020
|
u028347703
|
1514782385
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 24
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,077
|
s655360679
|
p00020
|
u024715419
|
1515138767
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 30
|
s = input()
print(s.upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,078
|
s566666373
|
p00020
|
u024715419
|
1515138777
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 24
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,079
|
s902320850
|
p00020
|
u764789069
|
1515857750
|
Python
|
Python
|
py
|
Accepted
| 10
|
4612
| 32
|
s = raw_input()
print s.upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,080
|
s824630623
|
p00020
|
u546285759
|
1516409839
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 41
|
print("".join(map(str.upper, input())))
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,081
|
s702065448
|
p00020
|
u737311644
|
1516524005
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 27
|
a=input().upper()
print(a)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,082
|
s756067467
|
p00020
|
u043254318
|
1516805936
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 23
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,083
|
s092011768
|
p00020
|
u150984829
|
1516959028
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 23
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,084
|
s303287747
|
p00020
|
u553148578
|
1523593092
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 28
|
print(str(input()).upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,085
|
s449520765
|
p00020
|
u166871988
|
1523755653
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 23
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,086
|
s669642930
|
p00020
|
u724548524
|
1525753728
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 23
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,087
|
s269760702
|
p00020
|
u352394527
|
1527225727
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 23
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,088
|
s221542812
|
p00020
|
u136916346
|
1527366648
|
Python
|
Python3
|
py
|
Accepted
| 30
|
5532
| 24
|
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,089
|
s230954609
|
p00020
|
u846136461
|
1527953174
|
Python
|
Python
|
py
|
Accepted
| 10
|
4640
| 233
|
# coding: utf-8
inputchar = raw_input()
answer = ""
delta = ord('a') - ord('A')
for c in inputchar:
if ord(c) >= ord('a') and ord(c) <= ord('z'):
new_c = chr(ord(c) - delta)
answer += new_c
else:
answer += c
print(answer)
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,090
|
s977465169
|
p00020
|
u847467233
|
1528718167
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 73
|
# AOJ 0020: Capitalize
# Python3 2018.6.11 bal4u
print(input().upper())
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,091
|
s122952126
|
p00020
|
u460331583
|
1347435827
|
Python
|
Python
|
py
|
Accepted
| 10
|
6020
| 31
|
a = raw_input()
print a.upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,092
|
s690122022
|
p00020
|
u894941280
|
1347435834
|
Python
|
Python
|
py
|
Accepted
| 10
|
6020
| 31
|
a = raw_input()
print a.upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,093
|
s115701062
|
p00020
|
u719737030
|
1351671096
|
Python
|
Python
|
py
|
Accepted
| 10
|
4948
| 198
|
import sys
def toUpper(text):
d={}
for i in xrange(26):
d[chr(i+97)] = chr(i+65)
return "".join([d.get(c,c) for c in text])
for i in sys.stdin.readlines():
print toUpper(i),
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,094
|
s118462630
|
p00020
|
u575065019
|
1353664782
|
Python
|
Python
|
py
|
Accepted
| 10
|
4188
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,095
|
s313531116
|
p00020
|
u647766105
|
1354099006
|
Python
|
Python
|
py
|
Accepted
| 10
|
5056
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,096
|
s727540231
|
p00020
|
u504990413
|
1354103159
|
Python
|
Python
|
py
|
Accepted
| 10
|
5060
| 374
|
dic ={'a':'A','b':'B','c':'C','d':'D','e':'E','f':'F','g':'G',\
'h':'H','i':'I','j':'J','k':'K','l':'L','m':'M','n':'N',\
'o':'O','p':'P','q':'Q','r':'R','s':'S','t':'T','u':'U',\
'v':'V','w':'W','x':'X','y':'Y','z':'Z',' ':' ','.':'.'}
array = map(str, raw_input())
output = ''
for i in range(len(array)):
output += dic[array[i]]
print output
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,097
|
s337986807
|
p00020
|
u735362704
|
1355673295
|
Python
|
Python
|
py
|
Accepted
| 10
|
7256
| 139
|
#!/usr/bin/env python
# coding: utf-8
def main():
param = raw_input()
print param.upper()
if __name__ == '__main__':
main()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,098
|
s102689762
|
p00020
|
u894941280
|
1355934458
|
Python
|
Python
|
py
|
Accepted
| 20
|
4192
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,099
|
s161598887
|
p00020
|
u280179677
|
1356071113
|
Python
|
Python
|
py
|
Accepted
| 20
|
4192
| 188
|
#!/usr/bin/python
def datasets():
s = raw_input().strip()
yield s
def main():
for s in datasets():
print s.upper()
if __name__ == '__main__':
main()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,100
|
s019234598
|
p00020
|
u419407022
|
1356090490
|
Python
|
Python
|
py
|
Accepted
| 20
|
23000
| 25
|
print raw_input().upper()
|
p00020
|
<H1>Capitalize</H1>
<p>
Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.
</p>
<H2>Input</H2>
<p>
A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.
</p>
<H2>Output</H2>
<p>
Print the converted text.
</p>
<H2>Sample Input</H2>
<pre>
this is a pen.
</pre>
<H2>Output for the Sample Input</H2>
<pre>
THIS IS A PEN.
</pre>
|
this is a pen.
|
THIS IS A PEN.
| 7,101
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.