Posts by Lucas Amorim • 13 points
1 post
-
1
votes2
answers187
viewsQ: How to avoid repeating code?
I have a Python 3 script that tries to be a chatbot, where there are several if and elses which are used based on what the user responds to. The problem is that in all functions, like get_name() or…
pythonasked Lucas Amorim 13