Skip to main content
added 34 characters in body
Source Link

Swift, 7674 bytes

Updated for Swift 2/3...and with new string interpolation...
for x in 0...47{print(String"'\(format:"'%02dx<20 ?"0":%d0'%@","")\(x/2,):\(x%2*3,)0'\(x<47 ?",":"")")}

Swift, 76 bytes

Updated for Swift 2/3...
for x in 0...47{print(String(format:"'%02d:%d0'%@",x/2,x%2*3,x<47 ?",":""))}

Swift, 74 bytes

Updated for Swift 2/3...and with new string interpolation...
for x in 0...47{print("'\(x<20 ?"0":"")\(x/2):\(x%2*3)0'\(x<47 ?",":"")")}
deleted 265 characters in body
Source Link

Swift, 7876 bytes

Confirmed,Updated for Swift is a terrible golfing language...this is second version as first didn't print the single quotes2/3...
for x in 0...47{println(String(format:"'%02d:%d0',",x/2,x%2*3))}

Can be run here

Second version without trailing comma...

for x in 0...47{printlnprint(String(format:"'%02d:%d0'%@",x/2,x%2*3,x<47 ?",":""))}

Swift, 78 bytes

Confirmed, Swift is a terrible golfing language...this is second version as first didn't print the single quotes...
for x in 0...47{println(String(format:"'%02d:%d0',",x/2,x%2*3))}

Can be run here

Second version without trailing comma...

for x in 0...47{println(String(format:"'%02d:%d0'%@",x/2,x%2*3,x<47 ?",":""))}

Swift, 76 bytes

Updated for Swift 2/3...
for x in 0...47{print(String(format:"'%02d:%d0'%@",x/2,x%2*3,x<47 ?",":""))}
added 130 characters in body
Source Link

Swift, 6478 bytes

Confirmed, Swift is a terrible golfing language...this is second version as first didn't print the single quotes...
for x in 0...47{println(String(format:"'%02d:%d0',",x/2,x%2*3))}

Can be run here

Second version without trailing comma...

for x in 0...47{println(String(format:"'%02d:%d0'%@",x/2,x%2*3,x<47 ?",":""))}

Swift, 64 bytes

Confirmed, Swift is a terrible golfing language...this is second version as first didn't print the single quotes...
for x in 0...47{println(String(format:"'%02d:%d0',",x/2,x%2*3))}

Can be run here

Swift, 78 bytes

Confirmed, Swift is a terrible golfing language...this is second version as first didn't print the single quotes...
for x in 0...47{println(String(format:"'%02d:%d0',",x/2,x%2*3))}

Can be run here

Second version without trailing comma...

for x in 0...47{println(String(format:"'%02d:%d0'%@",x/2,x%2*3,x<47 ?",":""))}
added 72 characters in body
Source Link
Loading
Source Link
Loading