alternating case lines

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Make the first line uppercase, second line lowercase, third line uppercase, fourth line lowercase, etc.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

'Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.
"Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!"
He took his vorpal sword in hand:
Long time the manxome foe he sought-
So rested he by the Tumtum tree,
And stood awhile in thought.
And as in uffish thought he stood,
The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wood,
And burbled as it came!
One, two! One, two! and through and through
The vorpal blade went snicker-snack!
He left it dead, and with its head
He went galumphing back.
"And hast thou slain the Jabberwock?
Come to my arms, my beamish boy!
O frabjous day! Callooh! Callay!"
He chortled in his joy.
'Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

Sample output:

'TWAS BRILLIG, AND THE SLITHY TOVES
did gyre and gimble in the wabe;
ALL MIMSY WERE THE BOROGOVES,
and the mome raths outgrabe.
"BEWARE THE JABBERWOCK, MY SON!
the jaws that bite, the claws that catch!
BEWARE THE JUBJUB BIRD, AND SHUN
the frumious bandersnatch!"
HE TOOK HIS VORPAL SWORD IN HAND:
long time the manxome foe he sought-
SO RESTED HE BY THE TUMTUM TREE,
and stood awhile in thought.
AND AS IN UFFISH THOUGHT HE STOOD,
the jabberwock, with eyes of flame,
CAME WHIFFLING THROUGH THE TULGEY WOOD,
and burbled as it came!
ONE, TWO! ONE, TWO! AND THROUGH AND THROUGH
the vorpal blade went snicker-snack!
HE LEFT IT DEAD, AND WITH ITS HEAD
he went galumphing back.
"AND HAST THOU SLAIN THE JABBERWOCK?
come to my arms, my beamish boy!
O FRABJOUS DAY! CALLOOH! CALLAY!"
he chortled in his joy.
'TWAS BRILLIG, AND THE SLITHY TOVES
did gyre and gimble in the wabe;
ALL MIMSY WERE THE BOROGOVES,
and the mome raths outgrabe.

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1clock360.01242012/08/30 05:10:140B / 30B / 5B
2uru360.01352012/08/30 13:57:450B / 30B / 5B
3bk1e360.01402012/09/02 00:54:260B / 26B / 10B
4eban360.01192012/09/04 17:34:190B / 30B / 5B

Perl _

RankUserSizeTimeDateStatistics
1tails200.01772012/08/29 21:42:400B / 9B / 9B
2teebee200.01112012/08/30 03:57:580B / 9B / 9B
3tanon200.02482012/08/30 15:58:320B / ?B / ?B
4tails (alnum)450.01082012/08/29 21:27:160B / 38B / 0B
5teebee(alnum)450.01562012/09/03 00:46:550B / 38B / 0B
6BioFALSE230.01082013/01/31 06:02:390B / 14B / 8B

Python _

RankUserSizeTimeDateStatistics
1clock500.01552012/08/29 02:51:080B / 29B / 20B
2twobit500.04492012/08/30 03:07:110B / 29B / 20B
3leonid500.03022012/08/30 05:04:440B / 29B / 20B
4recursive520.01682012/09/01 05:01:250B / 33B / 17B
5hallvabo530.01652012/08/29 02:38:350B / 30B / 21B
6Hendrik530.01582012/08/31 05:13:510B / 33B / 17B
7cornchz540.03002012/09/02 18:34:590B / 33B / 18B

PHP _

RankUserSizeTimeDateStatistics
1teebee560.03142012/09/03 00:52:020B / 34B / 21B
2clock600.03032012/08/31 14:37:160B / 34B / 26B
3teebee530.02172013/03/16 19:21:100B / 32B / 20B

Scheme _

RankUserSizeTimeDateStatistics
1kaki800.08612012/08/30 16:40:500B / 53B / 26B

Common LISP _

RankUserSizeTimeDateStatistics
1youz510.02402012/09/04 09:32:440B / 23B / 25B

Io _

RankUserSizeTimeDateStatistics
1pooq760.07092012/09/03 19:42:410B / 60B / 13B

JavaScript _

RankUserSizeTimeDateStatistics
10mg550.01802012/09/02 02:29:530B / 35B / 20B
2clock610.01732012/08/30 01:25:490B / 35B / 26B
3nn610.01542012/09/01 09:11:190B / 35B / 26B

Lua _

RankUserSizeTimeDateStatistics
1clock590.01122012/08/29 09:40:140B / 39B / 18B
2twobit590.01582012/08/30 02:59:420B / 37B / 19B
3Hendrik590.01392012/08/31 04:46:060B / 39B / 18B

Tcl _

RankUserSizeTimeDateStatistics
1teebee700.01672012/09/02 10:19:400B / 41B / 21B
2clock700.01682012/09/03 06:19:290B / 41B / 21B

Icon _

RankUserSizeTimeDateStatistics
1clock710.01312012/08/29 07:48:210B / 50B / 18B
2teebee710.01422012/09/02 11:14:320B / 50B / 18B

REXX _

RankUserSizeTimeDateStatistics
1teebee420.01312012/09/02 09:49:180B / 30B / 2B
2clock420.00482012/09/03 06:22:460B / 30B / 4B

BASIC _

RankUserSizeTimeDateStatistics
1pooq730.02422012/09/03 07:00:200B / 45B / 21B

Erlang _

RankUserSizeTimeDateStatistics
1pooq1370.10282012/09/03 22:46:320B / 79B / 55B

J _

RankUserSizeTimeDateStatistics
1I., S.430.04482012/08/30 06:47:010B / 24B / 19B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer80.20172021/04/17 23:01:396B / 2B / 0B

C _

RankUserSizeTimeDateStatistics
1nu630.01102012/08/29 19:02:530B / 38B / 25B
2nn630.01112012/08/30 00:30:020B / 36B / 27B
3inaniwa650.01102012/08/29 11:47:520B / 37B / 28B
4bk1e730.01352012/09/02 13:05:000B / 45B / 28B
5teebee(nu)620.01122012/09/05 08:19:040B / 38B / 24B

Haskell _

RankUserSizeTimeDateStatistics
1henkma660.01952012/09/01 07:34:010B / 51B / 12B
2nomeata930.01742012/08/31 19:39:384B / 61B / 22B

C# _

RankUserSizeTimeDateStatistics
1Hendrik1230.07462012/08/31 04:57:510B / 85B / 34B

Maxima _

RankUserSizeTimeDateStatistics
1pooq720.39482012/09/03 01:26:310B / 47B / 23B

REBOL _

RankUserSizeTimeDateStatistics
1clock580.01232012/08/31 14:23:200B / 45B / 8B

AWK _

RankUserSizeTimeDateStatistics
1teebee310.01062012/08/30 04:05:270B / 20B / 11B
2clock310.01072012/08/30 05:07:250B / 20B / 11B
3Hendrik310.01432012/09/04 15:39:530B / 20B / 11B
4Fleur310.01412021/10/27 15:50:530B / 20B / 11B

sed _

RankUserSizeTimeDateStatistics
1teebee190.01292012/08/29 08:55:430B / 5B / 12B
2clock190.01062012/08/29 09:06:140B / 5B / 12B
3tails190.01162012/08/29 20:24:310B / 5B / 12B
4nn190.01072012/08/29 23:44:130B / 5B / 14B

Bash _

RankUserSizeTimeDateStatistics
1tails200.00822012/08/29 21:39:210B / 10B / 9B

xgawk _

RankUserSizeTimeDateStatistics
1Hendrik310.01492012/09/04 15:40:080B / 20B / 11B
2teebee310.01572012/09/04 22:20:360B / 20B / 11B
3clock310.01362012/09/05 00:51:460B / 20B / 11B

R _

RankUserSizeTimeDateStatistics
1pooq810.16692012/09/04 23:07:220B / 51B / 27B
2pooq780.17032012/10/26 12:04:430B / 51B / 24B

GolfScript _

RankUserSizeTimeDateStatistics
1tails270.08422012/09/05 00:07:330B / 10B / 16B

Nibbles _

RankUserSizeTimeDateStatistics
1tails100.01972022/02/25 22:28:216B / 3B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1clock90.03932012/08/31 14:43:180B / 7B / 2B

Burlesque _

RankUserSizeTimeDateStatistics
1AndoDaan180.01292014/10/13 10:43:040B / 12B / 5B
2clock190.01902012/09/19 16:04:200B / 13B / 6B
3mroman210.01332012/09/18 18:35:050B / 13B / 7B

Vim _

RankUserSizeTimeDateStatistics
1nn150.01722012/08/29 23:32:050B / 11B / 4B
2clock150.01632012/08/30 01:02:140B / 12B / 3B

goruby _

RankUserSizeTimeDateStatistics
1clock170.02882012/08/30 14:02:260B / 11B / 5B
2uru170.05102012/08/30 14:07:150B / 11B / 5B

Groovy _

RankUserSizeTimeDateStatistics
1nn621.11552012/09/04 09:28:120B / 36B / 25B
2teebee631.46852012/09/03 01:19:360B / 38B / 25B
3clock650.96932012/08/30 01:33:200B / 42B / 22B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr655.26352012/09/02 02:33:020B / 53B / 12B

Logo _

RankUserSizeTimeDateStatistics
1teebee620.01132012/09/02 18:00:560B / 46B / 9B

Language Ranking_

RankLangUserSizeScore
1JellyErik the Outgolfer810000
2FlogScriptclock98888
3Nibblestails108000
4Vimnn155333
5gorubyclock174705
6BurlesqueAndoDaan184444
7sedteebee194210
8Bashtails204000
9Perltails204000
10GolfScripttails272962
11AWKteebee312580
12xgawkHendrik312580
13Rubyclock362222
14REXXteebee421904
15JI., S.431860
16Pythonclock501600
17Common LISPyouz511568
18PHPteebee531509
19JavaScript0mg551454
20REBOLclock581379
21Luaclock591355
22Logoteebee621290
23Groovynn621290
24Cteebee(nu)621290
25Scalamurky-satyr651230
26Haskellhenkma661212
27Tclteebee701142
28Iconclock711126
29Maximapooq721111
30BASICpooq731095
31Iopooq761052
32Rpooq781025
33Schemekaki801000
34C#Hendrik123650
35Erlangpooq137583

return to the top page