# data[].attributes.body
time = int(read("Please Enter current time: "))

flag = sun.get_status()

if time > 19 :

light3.turn_on()

light4.turn_on()

elif time >= 17 and not flag :

light3.turn_on()

light4.turn_off()

elif time < 17 and not flag :

light3.turn_off()

light4.turn_on()

else :

light3.turn_off()

light4.turn_off()

# data[].attributes.body
gkwlak dl rotoRi

# data[].attributes.body
tw

# data[].attributes.body
file = read("Enter the name of the file: ")

if "jpg" in file or "png" in file :

com.output("image file")

elif "txt" in file :

com.output("text file")

elif "wav" in file or "mp3" in file :

com.output("audio file")

else :

com.output("Invalid file type")

# data[].attributes.body
com.set_password(int(read("Please, set a new password.")))

password = int(read("Please, enter the password again."))

if password == com.get_password() :

com.output("Password is set on the first try.")

else :

com.output("Wrong password.")

password = int(read("Please, enter the password again."))

if password == com.get_password() :

com.output("Password is set on the second try.")

else :

com.output("Please, reset your password.")

# data[].attributes.body
import random as rd

mia_hand = 2

leo_hand = rd.randint(1, 3)

if leo_hand == 1 :

mia.say("I win!")

elif leo_hand == 2 :

mia.say("Draw!")

else :

leo.say("I win!")

# data[].attributes.body
sunny = sun.get_status()

if sunny == True :

leo.turn_to("table1")

leo.move_forward(leo.distance_to("table1"))

else :

leo.turn_to("table2")

leo.move_forward(leo.distance_to("table2"))

# data[].attributes.body
mia.say("The current password is %d." % door.get_password())

door.set_password(int(read("Please, set a new password.")))

mia.say("Now, the new password is %d." % door.get_password())

mia.say("Let's go in!")

my_pw = int(read("Enter new password:"))

if my_pw == door.get_password() :

door.open()

mia.move_forward(2.5)