iT邦幫忙

0

請問如何反轉一個字串?

  • 分享至 

  • xImage

我想要用python反轉一個字串 要怎麼做呢?

ccutmis iT邦高手 2 級 ‧ 2023-03-26 17:40:33 檢舉
try :
print( "ABCDEFG 1234567 "[::-1] )
wiseguy iT邦超人 1 級 ‧ 2023-03-28 10:37:56 檢舉
呃.....連這一丟估狗都查得到的東西也要來這問,這是 ....
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

3
海綿寶寶
iT邦大神 1 級 ‧ 2023-03-26 17:14:21

https://ithelp.ithome.com.tw/upload/images/20230326/20001787wjUFn4CrLH.png

歡迎來到大 AI 時代
/images/emoticon/emoticon74.gif

我要發表回答

立即登入回答