Hi Python experts,
I have started using "Visual Studio Code" and its giving little weird results.
Any suggestions ? what could be wrong here..
I have started using "Visual Studio Code" and its giving little weird results.
daysInWeek={"Mon","Tues","Wed","Thur","Fri","Sat","Sun"} for i,d in enumerate(daysInWeek): print(i, d)this code is show the following results:
Output:0 Fri
1 Wed
2 Tues
3 Thur
4 Sat
5 Sun
6 Mon
but it should be in sequence ( such as 0 Mon, 1 Tues...so on)Any suggestions ? what could be wrong here..