my_list1 = ["Kapil", "Apil",0,1,2,3,4]
for my_items in my_list1:
print(my_items * 2)
print(my_items, 2*2)
O/P:
KapilKapil Kapil 4 ApilApil Apil 4 0 0 4 2 1 4 4 2 4 6 3 4 8 4 4
===============================================================
https://github.com/bornfreesoul/PythonLessons
https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.