+ 7
How to use list in switcher of python
For example List =[1,2,1,1,3] And wanted to print If 1 small If 2 medium If 3 large
6 Answers
+ 7
Not working my friend
+ 7
I know
+ 5
I mean to use switch and case staments
+ 4
https://jaxenter.com/implement-switch-case-statement-JUMP_LINK__&&__python__&&__JUMP_LINK-138315.html
site contain an example for how to implement switch...case in Python
+ 4
This is the best way to do it in Python.
https://code.sololearn.com/cStYbJTdhHQz
+ 1
X=[34,20,10,5]
print (str(min(X))+" small")
print (str(max(X))+" large")
Did you mean?