У меня вопрос можете сказать что такое (int) и (float). Не очень понял, если можете скажите все основные команды:) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

У меня вопрос можете сказать что такое (int) и (float). Не очень понял, если можете скажите все основные команды:)

Name Type Description and example Integer int Floating point float Numbers with a decimal point: 7.98, -0.905, 1.4 String str Ordered sequence List list Ordered sequence of objects: ["hello", 98, 0.5, "hello"] Dictionary dict Unordered " key-value" pairs: { "luckyNumber" : "777", 'name' : 'Jim' ) Tuple tup Ordered immutable sequence of objects: ("hello", 98, 0.5, 98) Set set Unordered collection of unique objects: ("hello", 98, 0.5) Boolean bool Logical value: true, false мне 12 некоторые знаю, но хочется по больше узнать.

28th Apr 2021, 4:18 AM
ATSUKO
ATSUKO - avatar
1 Answer
0
Int -> 54 Float -> 45.5
28th Apr 2021, 2:26 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar