Question: Please check my code and tell me what I am doing wrong, I keep getting a whitespace error in zybooks. It's saying that my last

Please check my code and tell me what I am doing wrong, I keep getting a whitespace error in zybooks. It's saying that my last two lines have a whitespace before the semicolon. How do I take that whitespace away, if there is one?

favoriteColor = input('Enter favorite color: ') petsName = input('Enter pet\'s name: ') number = input('Enter a number: ')

print('You entered: {} {} {}'.format(favoriteColor, petsName, number))

password1 =favoriteColor+"_"+petsName password2=number+favoriteColor+number print(' First password:',password1) print('Second password:',password2)

print(" Number of characters in",password1,':',len(password1)) print("Number of characters in",password2,':',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 Databases Questions!