2. Data types

# Integers
print(-1, 0, 1, 0xff)

# Floating numbers
print(3.14, 1.024e10)

# Strings
print('Single quoted', "Double qouted", "I'm ok", 'Mixing "qoutes"', '''multi line 
text\n''')

# Boolean
print(True, False)

# Empty
print(None)

你可能感兴趣的:(2. Data types)