Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- destra = []
- sinistra = []
- n = int(input("Numero punti: "))
- for i in range(0, n):
- x = input("X: ")
- y = input("Y: ")
- if(int(y) >= 0):
- destra.append("(" + x + ", " + y + ")")
- else:
- sinistra.append("(" + x + ", " + y + ")")
- print("Destra: ")
- print(destra)
- print("Sinistra: ")
- print(sinistra)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement