Home > other >  [with] the Python string concatenation does not display the results
[with] the Python string concatenation does not display the results

Time:10-07

Name="Ada lovelace
"Print (name. Title ())

Name="Ada Lovelace
"Print (name. The upper ())
Print (name) the lower ())

The first_name='Ada'
Last_name='lovelace'
Full_name=first_name + "" + last_name

Print=(full_name)

Full_name="Ada lovelace"
Print=(full_name)

The results after
Ada Lovelace
ADA LOVELACE
Ada lovelace

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
(the program exited with code: 0)

Please press any key to continue...


Want to ask why don't show variable full_name?

CodePudding user response:

Print=(full_name)
Behind the print with the '=' is equal to the number, get rid of

CodePudding user response:

reference 1st floor chenht10 response:
print=(full_name)
Behind the print with the '=' is equal to the number, it is good to remove the
thank you
  • Related