Question: In the python programing language, how do I define a keyword to perform a certain action within a program? For instance, if I want to
In the python programing language, how do I define a keyword to perform a certain action within a program?
For instance, if I want to read an input.txt that contains: -------------------------- foobar = print "Hey guys"
foobar foobar --------------------------
And I need the output to be: -------------------------- Hey guys Hey Guys --------------------------
How is this implemented?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
