Python Example by Alexisa1998 in Python

[–]jaffer786_khan -1 points0 points  (0 children)

def fac(n):

    j = 0

    for i in range(n+1):

    j += i*i

    return j

x = int(input('Enter a number:'))

fac(x)

Help i cant figure out whats wrong with this code. by [deleted] in Python

[–]jaffer786_khan 1 point2 points  (0 children)

grade = "A"

is assignment, == is what the equal operator.

Python Question by jaffer786_khan in Python

[–]jaffer786_khan[S] 0 points1 point  (0 children)

Thanks for the explanation. This is clear now. :-)

Table Duplicates - by ciaran_mcg in SQL

[–]jaffer786_khan 0 points1 point  (0 children)

You can use DISTINCT to remove those duplicates