Ad
Code
Diff
  • hello = 'hello'
    world = 'world'
    print('{hello} {world}'.format(hello=hello,world=world))
    • hello = 'hello'
    • world = 'world'
    • print(f'{hello} {world}')
    • print('{hello} {world}'.format(hello=hello,world=world))