[Tutor] Newbie question re: user interaction

Matthias Hager martok@mattsmail.com
Thu, 1 Feb 2001 14:12:09 -0800


It's been so long since I've worked with any basic. But This should get the effect you're looking for.

$N = input("What is your name? ")
print "Hello, ", $N, "!\n"

The python book I'm using, as pathetic as it may be, says that much. But when I learned Perl my book didn't tell me how to do that. Hope that's what you're looking for.


Matthias

--
Programming isn't cool, it's awesome.

%%%################?????????###################^^^
                                          
          martok@mattsmail.com              
      http://mymymatthias.tripod.com/       
                                            
%%%################????????####################^^^         


--



Like my email address? Get your own for FREE at http://firstname.com 
Get you@JohnsMail.com or you@AlexsMail.com or pick from 500 more!