Is there any way to make a python program that only runs certain parts of the whole program depending on what the user inputs, I’m new to python and programming in a whole.
            Asked
            
        
        
            Active
            
        
            Viewed 31 times
        
    -2
            
            
        - 
                    yes there probably is. – Craicerjack Aug 01 '18 at 11:18
- 
                    You should give here a read - https://stackoverflow.com/help – Craicerjack Aug 01 '18 at 11:19
- 
                    its about the conditional statements in python try them – Sai Teja Pakalapati Aug 01 '18 at 11:19
- 
                    This might give you some idea: https://stackoverflow.com/questions/11479816/what-is-the-python-equivalent-for-a-case-switch-statement – Sheldore Aug 01 '18 at 11:55
1 Answers
0
            
            
        Use an If-Else logic.
if input == something:  
   This part of Code  
elif input == something else:
   This part of code  
else:  
   Do nothing 
 
    
    
        kkblue
        
- 183
- 10
 
    