>>> x='apple'
>>> y='orange'
>>> z="in the basket %s and %s" %(x,y)
>>> print z
(What this example code will do is replace the
“%s” operator values with the corresponding
string) what will be the output of above operation in python
Answers
Answered by
1
Answer:
in the basket apple and orange
Explanation:
%s will be replaced by x and y respectively.
Similar questions