I had knowledge about java so I tried writing an if block within the for block saying,
for i in range(25): if i == 9: i = 18 print(i)
This code logic works in java but not in python. What should I do?
Aucun commentaire:
Enregistrer un commentaire