Square root,squareroot,from math im
Square root,squareroot,from math im
from math import sqrtfor n in range(99, 0, -1): root = sqrt(n) if root == int(root): print n break
相关内容
- String Slice,stringslice,begin = 2end
- Dictionary has_key method,dictionaryhas_key,d = {}print
- Use int function,useintfunction,print int('0
- Change string to a list and Reference its index,changereference,S =
- The use of a variable,usevariable,name = 'Larr
- Class inside a List,classinsidelist,class B:
- Import all members in a module,importmodule,#//File: mod
- List comprehensions: ord,comprehensionsord,res = [ord(x
- Define function to Open a file,definefunction,import sysde
- Writing to Files,writingtofiles,# Append mod
评论关闭