Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. x= input('entre com o valor de x: ');
  2. y= input('entre com o valor de y: ');
  3.  
  4. p1=[-x, y];
  5. p2=[-x, -y];
  6. p3=[x, y];
  7. p4=[x, -y];
  8.  
  9. plot([p1(1),p4(1)],[p1(2),p4(2)],[p2(1),p3(1)],[p2(2),p3(2)]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement