Questions tagged [square]

Square APIs lets developers process payments online & in-person as well as accessing different information in Square merchant accounts.

Square offers Rest APIs for accessing merchant account data (with their permission of course!) as well as e-commerce. You can also integrate with Square's hardware in your mobile devices with the Point of Sale API for Android, iOS and the web.

Learn more about Square's offerings for developers at Square.com/developers

657 questions
-3
votes
1 answer

How to calculate sum of squares of each cell for a row in dataframe?

i have a dataframe like this Index A B C D E 0 4 2 4 4 1 1 1 4 1 4 4 2 3 1 2 0 1 3 1 0 2 2 4 4 0 1 1 0 2 i want to take the square for each cell in a row and add them up then put the result in a column "sum of squares", how to do…
-3
votes
1 answer

How do I draw these two shapes below with html CSS?

[trying to draw these shapes with HTML and CSS][1] how should I draw them using only HTML and CSS [1]: https://i.stack.imgur.com/8mvdY.png send me working code if possible
-3
votes
1 answer

Digit Square Sum

Dr Phan has found that by performing digitSquareSum() multiple times, two numbers get back to their original number: • 1 -> 1 • 89 -> 145 -> 42 -> 20 -> 4 -> 16 -> 37 -> 58 -> 89 She asked Ken to identify which of the original numbers, between 1…
-3
votes
2 answers

Square made of stars in Python

Does anybody of you know something like JetBrains Academy? Could You help me with this task? I know surely it is very simple but I really cannot do it. I have tried a lot of times. https://hyperskill.org/learn/step/6715
-3
votes
1 answer

Finding out if a big number is a perfect square numbers using C#

Is there a fast and simple way to write a program in C#, that finds out if a big (something like 25 digits big) number is a perfect square or not? Perfect squares are the numbers: 0^2=0,1^2=1,2^2=4,3^2=9,4^2=16,...
-3
votes
1 answer

Can anyone help me to find mistake in my python GUI code?

def square(): def calculate(): global area global perimeter side = entry_variable.get() area = side * side area_variable.set(area) perimeter = 4 * side …
Deepak
  • 1
  • 1
-3
votes
1 answer

Square Point of Sale not reading correct dollar amount

I am trying to test out the Web API using the example code from the documentation. I can successfully call the APP with generating any errors, but the dollar amount that I am hard coding into my script is not passing over correct. It seems to be two…
Brian Fleishman
  • 1,237
  • 3
  • 21
  • 43
-3
votes
2 answers

Assembly x86 - problems with drawing a square graphic mode

I need to draw a square in assembly x86. I know how to draw a square but my problem is that I have a lot of variables and I don't want to make a procedure for each 2 variables (x and y). I added an example where I define the x and the y. This is…
KatomPower
  • 119
  • 1
  • 3
  • 14
-3
votes
2 answers

Trouble with nested while loop

Please help me, Im using codeblocks 16 and I dont know why this code doesnt print a square, is just a square! Another thing is how can I improve this code? Im still learning please dont be mad at me thanks so much for you time #include…
Renato
  • 1
  • 3
-4
votes
2 answers

Drawing a square on python turtle

enter image description hereI'm a young French student. I need your help. I have a silly python exercise that I can't solve because I'm a beginner. I am working on python 3.7. My teacher asks me to propose a programme that draws a square of 150 on…
Thomas
  • 9
  • 1
-4
votes
1 answer

number which is Square or can be written as sum of two squares python

I created a program in python to check if a given number is square or can be written as sum of two squares, but it doesn't work.please help me. def sum(num): def m(a): b=a for item in range(a): b=b-1 if…
-9
votes
1 answer

Python code to sum the square values of numbers from 1 to n

I am struggling to add numbers by using python. Could you please aid me. Thank you.
SyntaxError101
  • 79
  • 1
  • 2
  • 11
1 2 3
43
44