Snippets Collections
   >>> x = 20 # x is a variable
  
  >>> if x < 50: # if condition
  ...    print('(first suite)')
  ...    print('x is small')
  ... else: else condition
  ...    print('(second suite)')
  ...    print('x is large')
  ...
 (first suite)
 x is small
                                
                                
star

Tue Apr 21 2020 12:00:59 GMT+0000 (Coordinated Universal Time)

#python #python #else #elif #clauses

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension