Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. def giocatore():
  2.     f = open('giocatore.txt','r')
  3.     giocatore = f.read()
  4.     f.close()
  5.     print("benvenuto")
  6.     print(giocatore)
  7.     a = open('ban.txt','r')
  8.     ban = a.read()
  9.     print(ban)
  10.     a.close()
  11.     if giocatore == ban:
  12.         print("impossibile giocare sei stato bannato")
  13.         exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement