- Write a function called
stop_sign
that prints out the questionWhich way do you want to turn?
and then takes keyboard input from the user. If the input equalsleft
printTurning left!
. If the input equalsright
printTurning right!
. If the input is anything other than the two previous options, printCrash!!!
- Write a function called
spaces
that takes a string as input. Return the number or spaces in the string as an integer.
Created
July 31, 2015 14:19
-
-
Save joeletizia/1817faeb6c6fb4f5a2a9 to your computer and use it in GitHub Desktop.
Dakarai Homework 2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment