Ad

Hletter = "H"
eletter = "e"
lletter1 = "l"
lletter2 = "l"
oletter = "o"
comma = ","
space = " "
Wletter = "W"
oletter2 = "o"
rletter = "r"
lletter3 = "l"
dletter = "d"
exclam1 = "!"
exclam2 = "!"

print(Hletter + eletter + lletter1 + lletter2 + oletter + space + comma + space + Wletter + oletter2 + rletter + lletter3 + dletter + space + exclam1 + exclam2)

Code
Diff
  • Hletter = "H"
    eletter = "e"
    lletter1 = "l"
    lletter2 = "l"
    oletter = "o"
    comma = ","
    space = " "
    Wletter = "W"
    oletter2 = "o"
    rletter = "r"
    lletter3 = "l"
    dletter = "d"
    exclam1 = "!"
    exclam2 = "!"
    
    print(Hletter + eletter + lletter1 + lletter2 + oletter + space + comma + space + Wletter + oletter2 + rletter + lletter3 + dletter + space + exclam1 + exclam2)
    
    • worldName = "World"
    • greetWord = "Hello"
    • sign = "!"
    • spacing = " "
    • Hletter = "H"
    • eletter = "e"
    • lletter1 = "l"
    • lletter2 = "l"
    • oletter = "o"
    • comma = ","
    • print(greetWord+spacing+comma+spacing+worldName+spacing+sign+sign)
    • space = " "
    • Wletter = "W"
    • oletter2 = "o"
    • rletter = "r"
    • lletter3 = "l"
    • dletter = "d"
    • exclam1 = "!"
    • exclam2 = "!"
    • print(Hletter + eletter + lletter1 + lletter2 + oletter + space + comma + space + Wletter + oletter2 + rletter + lletter3 + dletter + space + exclam1 + exclam2)