Skip to content

Pydroid  #2

Description

@hansk112

Integer

integer_example = 42
print(f"Integer: {integer_example}")

Float

float_example = 3.14
print(f"Float: {float_example}")

String

string_example = "Hello, World!"
print(f"String: {string_example}")

Boolean

boolean_example = True
print(f"Boolean: {boolean_example}")

List

list_example = [1, 2, 3, 4, 5]
print(f"List: {list_example}")

Tuple

tuple_example = (1, 2, 3, 4, 5)
print(f"Tuple: {tuple_example}")

Set

set_example = {1, 2, 3, 4, 5}
print(f"Set: {set_example}")

Dictionary

dict_example = {"name": "Alice", "age": 30, "city": "Wonderland"}
print(f"Dictionary: {dict_example}")

NoneType

none_example = None
print(f"NoneType: {none_example}")

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions