@Perse_pol_is · Post #190 · 17.03.2020 г., 14:11
Relief of a #Median tribute bearer presenting an Acinace for the king, excavated in Persepolis.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #84 · 13 мај
В продолжение прошлого поста про цифры в мире строк. Почему методы isdigit() и isnumeric() не определяют в строке float и отрицательные значения? Дело в том, что эти методы работают с ЦИФРАМИ, то есть с единичным символом. А строка "-2" или "3.4" это уже ЧИСЛО. То есть не символ а значение, записанное несколькими символами. Все озвученные методы проходятся по каждому символу строки и проверяют их индивидуально. В юникоде есть символы цифр с точками "🄀⒈⒉⒊⒋⒌⒍⒎⒏⒐" Каждая из них это ОДИН СИМВОЛ, поэтому он будет считаться цифрой >>> '⒌'.isdigit(), '⒌'.isnumeric() True, True Но когда мы пишем это выражение в два символа ( 5+точка), то это не работает. >>> '5.'.isdigit(), '5.'.isnumeric() False, False А еще есть такие символы >>> '⑴⑵⑶⑷⑸'.isdigit() True >>> '🄁🄂🄃'.isdigit() True Но они не преобразуются в десятичные цифры >>> '⒈'.isdecimal() False >>> '🄃'.isdecimal() False >>> '⑶'.isdecimal() False #basic
Hashtags
Пребарај: #median
@Perse_pol_is · Post #190 · 17.03.2020 г., 14:11
Relief of a #Median tribute bearer presenting an Acinace for the king, excavated in Persepolis.
Hashtags
@Perse_pol_is · Post #189 · 16.03.2020 г., 09:30
#Median Art. Glazed vase decorated with goats and a lotus flower, 7th century BC, part of the Ziwiyeh hoard.
Hashtags
@Perse_pol_is · Post #147 · 22.02.2020 г., 18:34
#Median art. Gold protoma of a bull, 8th century BC, possibly part of the Ziwiyeh treasure. Currently housed in the national museum of Warsaw.
Hashtags
@Perse_pol_is · Post #128 · 04.02.2020 г., 17:29
"The Medes were formerly called by everyone Aryans, but when the Colchian woman Medea came from Athens to the Aryans they changed their name, like the Persians. This is the Medes' own account of themselves. " —Herodotus, The Histories, Book 7, Chapter 62. [Picture]: Bust of a #Median lion strangler, 5th century BC.
Hashtags
@Perse_pol_is · Post #123 · 03.02.2020 г., 17:30
A 6th century BC silver rython depicting a #Median horserider, with his people's distinctive round hat. Excavated in Erebuni, Urartian "fortress of blood" which was occupied by the Medians and the Persians.
Hashtags
@Perse_pol_is · Post #122 · 03.02.2020 г., 17:24
Gold rython in shape of a ram's head, excellent example of #Median art, part of the Ziwiyeh treasure.
Hashtags
@Perse_pol_is · Post #148 · 22.02.2020 г., 19:04
Bas-relief of a #Persian (right) and #Median (left) lancer, Persepolis.