# ex-6. 文字列操作6 渡した文字列 **2つ** の **1文字目** を表示するプログラムを書いてください。 ただし表示する文字列の順番は入れ替えてください。 ## 実行結果 ```` $ python ex-6.py Apple Banana B A $ python ex-6.py 100 200 2 1 ```` ## チャレンジ 可能であれば `def` を使ってみましょう! ###### tags: `Python`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up