subject

How do I correct the code below to output in Python: "Enter favorite color"
"First password"

# FIXME (1): Finish reading another word and an integer into variables.
# Output all the values on a single line
favorite_color = input('Enter favorite color:\n')

# FIXME (2): Output two password options
password1 = favorite_color
print('\nFirst password:')

# FIXME (3): Output the length of the two password options

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
You know the right answer?
How do I correct the code below to output in Python: "Enter favorite color"
"First password"<...
Questions
question
Mathematics, 25.01.2022 02:40
question
Mathematics, 25.01.2022 02:40
question
Mathematics, 25.01.2022 02:40
Questions on the website: 13722363