$ rails g model User
belongs_to
has_one
# Function Practice Send and Return Values w/Booleans | |
# Please create and call various functions as explained below. | |
import os | |
os.system("clear") | |
# 1 | |
# Write a function that prints Doh! on the screen. | |
# Call the function print_doh | |
print("1\n") | |
def print_doh(): |
import os | |
os.system("clear") | |
print(""" | |
__ ___ | |
(_ |_ _ _ | _ _| | |
__)|_(_|| || (-|( | |
""") | |
# 1) Create a list called captains and add the following names to it: |