SHARE
TWEET

Untitled

a guest Oct 13th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. eta = input('Quanti anni hai?\n')
  3. if int(eta) >= 18:
  4.     patente = input('Hai la patente?\n')
  5.     if patente.lower() == 'si':
  6.         print ('Puoi guidare l\'auto che vuoi')
  7.     else:
  8.         print('Cosa aspetti a prendere la patente?')
  9.  
  10. else:
  11.     print('Ti mancano ' + str(18 - int(eta)) + ' anni prima di poter guidare')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top