0

flowchart

Can someone make a flowchart for this code pls,? would be appreciated, alist = [54,26,93,17,77,31,44,55,20] for passnum in range(len(alist)-1,0,-1): for i in range(passnum): if alist[i]>alist[i+1]: temp = alist[i] alist[i] = alist[i+1] alist[i+1] = temp print(alist)

4th Mar 2021, 12:39 PM
Sebghat Rezaie
Sebghat Rezaie - avatar
2 Réponses
4th Mar 2021, 5:49 PM
Oma Falk
Oma Falk - avatar
+ 1
thanks a lot for making flowchart🙏
10th Mar 2021, 6:33 PM
Sebghat Rezaie
Sebghat Rezaie - avatar