Home > other >  String formatting
String formatting

Time:12-06

String formatting encounter a problem, why when the string content into Chinese complains, want to know the students to help solve, thank you!!!!!!


 print (' my {} '. The format (' day! ')) 


CodePudding user response:

Error information has been given, it is IndentationError: have unnecessary space in front of your print, it is ok to delete,
 print (' my {} '. The format (' day! ')) 

CodePudding user response:

Thank you, to write a few actually will have the same error, careless of
  • Related