I have executed stack in python but the output was with None.. how is that possible? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have executed stack in python but the output was with None.. how is that possible?

15th Mar 2020, 6:59 AM
Çhökï Dorjee
Çhökï Dorjee - avatar
10 Answers
+ 2
Where is your code?
15th Mar 2020, 7:00 AM
A͢J
A͢J - avatar
+ 2
No share here.
15th Mar 2020, 7:07 AM
A͢J
A͢J - avatar
+ 2
Make code on Sololearn web page. Go here www.sololearn.com
15th Mar 2020, 7:16 AM
A͢J
A͢J - avatar
+ 1
I have done it in laptop
15th Mar 2020, 7:01 AM
Çhökï Dorjee
Çhökï Dorjee - avatar
+ 1
Can I send u the image...
15th Mar 2020, 7:01 AM
Çhökï Dorjee
Çhökï Dorjee - avatar
+ 1
Can u send Ur Facebook Id sir.. so I can send the image of my code..
15th Mar 2020, 7:03 AM
Çhökï Dorjee
Çhökï Dorjee - avatar
+ 1
It is taking to much time to type in my phone
15th Mar 2020, 7:11 AM
Çhökï Dorjee
Çhökï Dorjee - avatar
+ 1
class queue: def __init__(self): self.b =[] def enqueue(self,element): return self.b.insert(0,element) q=queue() x=q.enqueue(3) print(x)
15th Mar 2020, 7:25 AM
Çhökï Dorjee
Çhökï Dorjee - avatar
+ 1
I have typed just the beginning...of my code sir
15th Mar 2020, 7:25 AM
Çhökï Dorjee
Çhökï Dorjee - avatar
+ 1
Thanks sir
15th Mar 2020, 7:38 AM
Çhökï Dorjee
Çhökï Dorjee - avatar