Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> while True:
	n=input("Please enter a number(0 to exit):")
	n=int(n)
	if n==0:
		break
	print("square of ",n ,"is ",n*n)

	
Please enter a number(0 to exit):4
square of  4 is  16
Please enter a number(0 to exit):6
square of  6 is  36
Please enter a number(0 to exit):30
square of  30 is  900
Please enter a number(0 to exit):0
>>> //number using break
SyntaxError: invalid syntax
>>> 
