Python Notes (2) - Conditionals

2018-03-18  本文已影响20人  SilentSummer

The note summaries conditionals, control flow and a game implemented by Python.

Python notes of open courses @Codecademy.

Conditionals & Control Flow

PygLatin

Pig Latin is a language game, where you move the first letter of the word to the end and add "ay." So "Python" becomes "ythonpay." To write a Pig Latin translator in Python, here are the steps we'll need to take:

  • Ask the user to input a word in English.

External Resources

上一篇 下一篇

猜你喜欢

热点阅读