in a range,inrange,from math im
in a range,inrange,from math im
from math import sqrtfor n in range(99, 0, -1): root = sqrt(n) if root == int(root): print n break
相关内容
- apply function,apply,def func(x,
- keeps '\' (Back splash) literally,splashliterally,x
- Specifying exception type,,# try: nu
- Use mouse to draw a shape on canvas,shapecanvas,from Tkinter
- Content tests: isalpha, isdigit, etc,isalphaisdigit,S = 'spam' S
- Use raw input to read int value,rawinput,import sys,
- Line color,linecolor,from Tkinter
- A calculator,calculator,from Tkinter
- Draw Rectangle,drawrectangle,from Tkinter
- Writing to a Database,writingtodatabase,import MySQL
评论关闭