Questions tagged «curly-braces»

16
පයිතන් නූල්වල වචනාර්ථයෙන් කැරලි-වරහන් අක්ෂර මුද්‍රණය කර එය මත ආකෘති භාවිතා කරන්නේ කෙසේද?
x = " \{ Hello \} {0} " print(x.format(42)) මට ලබා දෙයි: Key Error: Hello\\ මට ප්‍රතිදානය මුද්‍රණය කිරීමට අවශ්‍යයි: {Hello} 42
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.