when i print this num=list(range(3,8)) print(num) print(range(20)==(0,20)) i get [3,4,5,6,7] False but why is it False it should be True or am i missing something?
(0,20) is not range(0,20)
True i tried x=list(range(20)) y=list(range(0,20)) if y==x: print(True) and it worked I should have read correctly ty for your answer
my pleasure :)
Bug: Sololearn notification is still showing number in the notification icon even i did mark as read
Izzy the iguana code coach
Finished python for beginners
Hi, hope you're doing good.Could someone please tell me why does the while loop not stop when I type in rock, paper or scissors?
C++ Question re stringstream
Why sometimes 0 is printed?