我有這個片的Python代碼: time = ['0115','0215','0315','0715','0815','0915','1015']
N_profiles_select = 582
cldsat_timeafter = 0815
cldsat_timebefore = 0115
if time < cldsat_timeafter and time > cldsat_tim
def evaluate(x):
number = str(eval(entry_drones.get()))
if x == drones :
create_drone(number)
entry_drones = Entry(frame, text = "1")
entry_drones.bind("<Return>", evaluate(drones))
在python中,我試圖在下面的輸入中使用print函數。 room = 503
print ('I am staying in room number', room)
我希望下面的輸出: I am staying in room number 503
而是我正在此: ('I am staying in room number', 503)
我怎樣才能讓這個它只是順利,因爲我的期望是