Message from Python discussions
December 2018
— Share your code
def IsYearLeap(year):
if (year % 4 == 0):
if (year % 100 == 0):
if (year % 400 == 0):
return True
IsYearLeap(2000)
#
# put your code here
testdata = [1900, 2000, 2016, 1987]
testresults = [False, True, True, False]
for i in range(len(testdata)):
yr = testdata[i]
print(yr,"->",end="")
result = IsYearLeap(yr)
print(i)
# print(result)
if result == testresults[i]:
print("OK")
else:
print("Failed")
— Please how can use tkinter and turtle
— By reading about them
— I read about tkinter on Tutorialspoint
— I don't understand tkinter very well
— That is why u need to read man
— Tkinter used to build desktop app
— Python program for e-voting
— Thanks
— Hi , Brothers i need help ,
how to create framework web ? in python
Ex: Flask ,Django etc ...
How ?
— Writing code. maybe?