Ace of Hearts
Coddyの「トランプジェネレーター (テキストベース)」コースのレッスン 3/6。
チャレンジ
簡単関数 printCard がハートのエースを出力するようにしてください。
使用するハートの記号はこちらです - ♥
正しい出力を理解するために、期待される出力を確認してください!
自分で試してみよう
def printCard():
print('╔═════════╗')
print('║ ║')
print('║ ║')
print('║ ║')
print('║ ║')
print('║ ║')
print('║ ║')
print('║ ║')
print('╚═════════╝')
トランプジェネレーター (テキストベース)のすべてのレッスン
1Introduction
Introduction