@sgmrt · Post #1882 · 08.02.2024 г., 01:39
[CCL] UPDATE: Due to a signal fault, please continue to add additional 10 minutes travel time between #Stadium and #PayaLebar. You may consider alternative means of transport. - SMRT
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #61 · 2 апр.
Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления. from __future__ import division Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда. Например: int/int => int int/float => float В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float. Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float. 12/float(5) => float Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//". >>> 3/2 1.5 >>> 3//2 1 То есть теперь деление int на int даёт float если результат не целое число. В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами. Данный переход описан в PEP238. #pep#2to3#basic
Пребарај: #stadium
@sgmrt · Post #1882 · 08.02.2024 г., 01:39
[CCL] UPDATE: Due to a signal fault, please continue to add additional 10 minutes travel time between #Stadium and #PayaLebar. You may consider alternative means of transport. - SMRT
Hashtags
@sgmrt · Post #1881 · 08.02.2024 г., 01:14
[CCL]: Update: Due to a signal fault, please continue to add additional 10 minutes travel time between #Stadium and #PayaLebar - SMRT
Hashtags
@sgmrt · Post #1880 · 08.02.2024 г., 00:49
[CCL]: Update: Due to a signal fault, please add additional 10 minutes travel time between #Stadium and #PayaLebar. - SMRT
Hashtags
@sgmrt · Post #1879 · 08.02.2024 г., 00:05
[CCL]: Due to a signal fault, please add additional 10 minutes travel time between #Stadium and #PayaLebar. - SMRT
Hashtags
@sgmrt · Post #1425 · 01.04.2022 г., 04:41
[CCL] CLEARED: Train services between #Stadium and #Bartley have resumed. Free regular bus & free bridging bus svcs have ended. - SMRT
@sgmrt · Post #1421 · 01.04.2022 г., 04:09
[CCL]: Shuttle train service is available between #Stadium and #Bartley Platform B. - SMRT
@sgmrt · Post #1832 · 29.09.2023 г., 11:40
[CCL] CLEARED: Train services between #DhobyGhaut /#MarinaBay and #Stadium have resumed. Free regular bus and bridging bus services have ended. - SMRT
Hashtags
@sgmrt · Post #1792 · 29.09.2023 г., 00:00
[CCL] UPDATE: Our engineers are still rectifying the fault. Please add 30 mins train travel time between #DhobyGhaut / #MarinaBay and #Stadium. - SMRT
Hashtags
@sgmrt · Post #1789 · 28.09.2023 г., 23:00
[CCL] UPDATE: Our engineers are still rectifying the fault. Please add 30 minutes travelling time between #DhobyGhaut / #MarinaBay and #Stadium. - SMRT
Hashtags
@sgmrt · Post #1786 · 28.09.2023 г., 22:10
[CCL] UPDATE: Our engineers are still rectifying the fault. Please add 30 minutes train travel time between #DhobyGhaut / #MarinaBay and #Stadium. - SMRT
Hashtags
@sgmrt · Post #1693 · 07.04.2023 г., 07:02
[CCL]: Pls add 40mins of train travel time between #DhobyGhaut/#MarinaBay and #Stadium. Our engineers are on site to conduct the recovery operations. Free regular bus and free bridging bus svcs are available. - SMRT
Hashtags
@sgmrt · Post #1785 · 28.09.2023 г., 21:54
[CCL] UPDATE: Passengers travelling on CCL between #DhobyGhaut/ #MarinaBay and #Stadium, are advised to transfer to EWL at #PayaLebar to continue the journey. - SMRT