String replacement using modulo in Python for raw_input? -
Is it possible to generate in the following ways?
name = raw_input ("Enter name:") age = raw_input ("hello% s, please enter your age")% name I know that I can move one + to add stars, but if it does work in any way.
simply insert the variable inside parentheses
age = raw_input ( "Hello% s, please enter your age"% name ")
Comments
Post a Comment