I need to write for loop in for loop for my Python pragramme,
I know writing that in C, but I dont have any idea about python
I tried but I cannot manage that
Please rise me up ,
I need to write for loop in for loop for my Python pragramme,
I know writing that in C, but I dont have any idea about python
I tried but I cannot manage that
Please rise me up ,
Simple, just do nested for-loops. Can't get any easier :D
Prints:
If you want to iterate over two lists, use
zip()
:Prints:
maybe you should give us more info about what you'r trying to do. any way this how its done: