Dnia 30-07-2010 o 22:15:50 Tomek Sowiński <j...@ask.me> napisał(a):

writeln('-'.repeat.take(5));

Oh, and if repeat had slicing (as it should)...  '-'.repeat[0..5]
Still, it's far cry from Python's  '-' * 5

Tomek

Reply via email to