Demo entry 6327821

Test

   

Submitted by Tiebe Groosman on Nov 24, 2016 at 19:35
Language: Python 3. Code size: 419 Bytes.

import datetime
print('What is your Androids battery level?')
a = input()
today = datetime.date.today()

if 100 > int(a):
    print ("Your pincode is:")
    print (str(a) + str(today.day) + str(a) +str(today.day))
    print ('Your second pincode is:')
    print (str(a) + "13237")
if 100 < int(a):
    print ("Android battery level cannot be higher then 100%")
    print ("You didn't type anything good!")

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).