Advertisement
Jacobacon215

Untitled

Aug 21st, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1.  
  2.  
  3. xsquares = int(input("Base squares on x axis: "))
  4. ysquares = int(input("Base squares on y axis: "))
  5.  
  6. lines = 0
  7.  
  8.  
  9. lines = (xsquares + 1) + (ysquares + 1)
  10.  
  11.  
  12. print(str(lines))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement