📚 › Python: the friendliest first language
2. Variables and types
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
A variable is a name that points to a value. Python finds the type itself: int for whole numbers, float for decimals, str for text and bool for True or False.
type(x) shows the type of a value.
उदाहरण देखें
name = "Ayesha"
age = 21
print(name, age, type(age))
✍️ अब आपकी बारी
Store 7 in x and 5 in y, then print their sum.