You need to sign in or sign up before continuing.×
Ad

almost triple-A game now

Code
Diff
  • worldName = "World"
    greetWord = "Hello"
    sign = "!"
    spacing = " "
    print(greetWord+spacing+worldName+sign)
    • worldName = "World"
    • greetWord = "Hello"
    • sign = "!"
    • print(f"{greetWord} {worldName}{sign}")
    • spacing = " "
    • print(greetWord+spacing+worldName+sign)
Code
Diff
  • worldName = "World"
    greetWord = "Hello"
    sign = "!"
    print(f"{greetWord} {worldName}{sign}")
    • worldName = "world"
    • print(f"Hello {worldName}!")
    • worldName = "World"
    • greetWord = "Hello"
    • sign = "!"
    • print(f"{greetWord} {worldName}{sign}")