How do I get integers from a tuple in Python? -


I have a tube with two numbers, I should get both numbers. The first number is the x-coordinate, while the second is y-coordinate. My pseudo code is that I have a thought about how to go about it, although I am not sure how to work it.

Pseudo code:

  Tupl = (46, 153) string = str (tubal) ss = string.search () int1 = first_int (ss) int2 = first_int (ss) print int 1 print int 2  
< P> int1 46, while returning to int2 153
  int1, int2 = tuple  
/ Html>

Comments