#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목step_5실습 반대로쓰기2022-03-21 22:07
작성자
def reverseString(x) :

  print(x[-1::-1])
reverseString("hello")
reverseString("world")
reverseString("12345")

이렇게 했는데 결과 값에서 큰 따옴표가 다 벗겨집니다.

실습에서의 밑에 값은 큰 따옴표도 같이 표시되는데

큰 따옴표를 표시하는 방법이 궁금합니다!!

댓글
이전[re]함수2022-03-22
다음[re]step_5실습 반대로쓰기2022-03-21