Блог python на хабрахабре
Язык программирования Python / Автоматическая активация/деактивация при входе/выходе из папки
- 29 Дек 13:07
Today, Eric Florenzano starts a funny contests. He suggest the idea for new blogging game.
Rules are quite simple:
Here is my program, written in bash:
echo -n 'Please enter your name: ' read NAME echo -n 'Please enter your age: ' read AGE for i in `seq $AGE`; do echo "$i) Hello, $NAME"; done
It's behaviour the same as Eric's python script. It just retrives you name and age, and then print some greetings.
I hope, together we can create a more long list, than a Hello World collection. Have a fun!
Today, Eric Florenzano starts a funny contests. He suggest the idea for new blogging game.
Rules are quite simple:
Here is my program, written in bash:
echo -n 'Please enter your name: '
read NAME
echo -n 'Please enter your age: '
read AGE
for i in `seq $AGE`; do echo "$i) Hello, $NAME"; done
It's behaviour the same as Eric's python script. It just retrives you name and age, and then print some greetings.
I hope, together we can create a more long list, than a Hello World collection. Have a fun!