Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Homework

Name: Anonymous 2009-04-01 16:01

Take a number from the standard input and output "Sussman" this many times, using Python.

Name: Anonymous 2009-04-03 15:57

chris@chrislaptop ~> n=`cat`; yes "Sussman" | head -n $n | tr -d '\n' 
fish: Unknown command “n=`cat`”. Did you mean “set n `cat`”? For information on
assigning values to variables, see the help section on the set command by typing
“help set”.
head: option requires an argument -- n
usage: head [-n lines | -c bytes] [file ...]

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List