Python assignment statements Examples
a) Assign 10 to variable length and 20 to variable breadth.b) Assign the average of values of variables length and breadth to a variable sum.c) Assign a list containing strings ‘Paper, ‘Gel Pen’, and ‘Eraser’ to variable stationary.d) Assign the strings ‘Mohandas’, ‘Karamchand ’, and ‘Gandhi’ to variable first, middle and last.e) Assign the concatenated […]
Python assignment statements Examples Read More »