1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tpy6a [65]
3 years ago
9

IN PYTHON LANGUAGE

Computers and Technology
2 answers:
shtirl [24]3 years ago
8 0

favorite_color = input("Enter favorite color:\n")

pet = input("Enter pet's name:\n")

num = input("Enter a number:\n")

print("You entered: "+favorite_color+" "+pet+" "+num)

password1 = favorite_color+"_"+pet

password2 = num+favorite_color+num

print("First password: "+password1)

print("Second password: "+password2)

print("Number of characters in "+password1+": "+str(len(password1)))

print("Number of characters in "+password2+": "+str(len(password2)))

This works for me.

Alona [7]3 years ago
6 0

Answer:

favorite_color = input('Enter favorite color:\n')

pet_name = input("Enter pet's name:\n")

number = input('Enter a number:\n')

print('You entered:',favorite_color+' '+pet_name+' '+number)

password1 = favorite_color+'_'+pet_name

password2 = number+favorite_color+number

print('\nFirst password:'+' '+password1)

print('Second password:'+' '+password2)

print('\nNumber of characters in '+password1+': '+str(len(password1)))

print('Number of characters in '+password2+': '+str(len(password2)))

Explanation:

Notice on the pet name I used quotes instead of parenthesis because so I can use the comma on pet's.

This solution worked for me.

You might be interested in
Banks will pay you interest on your money based on the interest rate. True or false?​
Sonja [21]

Answer:

The bank will pay you for every dollar you keep in your savings account. The money the bank pays you is called interest. How much the bank pays can change from month to month. The amount the bank pays is talked about as a percentage.

Explanation:

4 0
3 years ago
you are sitting in a coffee shop with your laptop computer and have connected to the internet through an unrestricted wi-fi conn
amm1812

Since you are sitting in a coffee shop with your laptop computer and have connected to the internet through an unrestricted wi-fi connection,this type of wi-fi connection called hotspot.

<h3>What is the difference between hotspot and Wi-Fi?</h3>

WLAN is a wireless technology for local area networks (Local Area Networks). While the hotspot uses wifi to connect wireless devices to the internet. Without wifi, a hotspot does not exist. whereas wifi is used to generate a hotspot.

Because it uses your cell phone number to authenticate, a mobile hotspot is a secure network. You should be prompted to create a password on your phone, which you can later use on other devices to access the internet. As opposed to accessing free public Wi-Fi, a mobile hotspot is safer and more secure because of this.

Therefore, A hotspot is a physical site where users can connect to a wireless local area network (WLAN) with a router connected to an Internet service provider to access the Internet, generally using Wi-Fi.

Learn more about internet  from

brainly.com/question/28078151
#SPJ1

7 0
1 year ago
Block elements start a new line when rendering? (true or false)
bekas [8.4K]

Answer:true

Explanation:

3 0
3 years ago
If a product can be made and used for a long time into the future, that product is
Ksivusya [100]
I believe it is That product is sustainable.
8 0
3 years ago
Can someone please answer this for me I will answer one of yours.
julsineya [31]
4 is preview i think.
4 0
4 years ago
Other questions:
  • What might happen if a computer has too many applications running at one time?
    15·1 answer
  • How to write an shortened if statement?
    6·1 answer
  • Which command on the page layout ribbon enables a user to mark where a new page will begin on the printed copy?
    6·1 answer
  • Systems thinking includes consideration of all of the following EXCEPT
    9·1 answer
  • At what point in a vulnerability assessment would an attack tree be utilized?
    9·1 answer
  • A bank uses a computer program during the night to tell if the alarm should ring. Sensors in the bank set the following Boolean
    5·1 answer
  • Select the tips you should follow when writing a business report.
    12·1 answer
  • The Internet was first used by which of the following institutions?
    7·1 answer
  • What would a system unit that is integrated with the display and keyboard would be considered?
    6·1 answer
  • What ways does e-governance empower citizens
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!