Question: # FIXME ( 1 ) : Finish reading another word and an integer into variables. # Output all the values on a single lin favorite

# FIXME (1): Finish reading another word and an integer into variables.
# Output all the values on a single lin
favorite_color = input('Enter favorite color: ')
favorite_flower = input('Enter favorite flower: ')
favorite_number = input('Enter favorite number: ')
print(f'Favorite color: {favorite_color}, Favorite flower: {favorite_flower}, Favorite number: {favorite_number}')
# FIXME (2): Output two password options
password1= favorite_color
password2= favorite_flower + str(favorite_number)
print(f'First password: {password1}')
print(f'Second password: {password2}')
# FIXME (3): Output the length of the two password options
print(f'Number of characters in: {len(password1)}')
print(f'Number of characters in: {len(password2)}')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!