You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
334 B
9 lines
334 B
"""
|
|
categories: Core
|
|
description: f-strings cannot support expressions that require parsing to resolve unbalanced nested braces and brackets
|
|
cause: MicroPython is optimised for code space.
|
|
workaround: Always use balanced braces and brackets in expressions inside f-strings
|
|
"""
|
|
|
|
print(f'{"hello { world"}')
|
|
print(f'{"hello ] world"}')
|
|
|