Loops are program statements that are repeated as long as the loop condition is true.
The loop in Python, where comments are used to explain each line is as follows:
#This initializes the number of pets to 0
count = 0
#This gets input for the pet name
pet = input("Pet: ")
#This is repeated until the user enters "rock"
while pet.lower() != "rock":
#This increases the number of pets by 1
count+=1
#This prints the pet and the number of pets
print("You have a",pet,"with a total of",str(count),"pet(s)")
#This gets input for the pet name
pet = input("Pet: ")
Read more about loops at:
brainly.com/question/19344465
Answer:
yes it can it shows u what you did wrong or what you did right
Explanation:
brainlet me please
Answer:
automotive engine cylinder heads can be made of cast iron or aluminum
Answer:
The next step to consider is updating the system's network settings
Explanation:
The next step after testing and verifying that the network patch cable and network interface card are working is to update the network settings to recent configurations.
Updating the system's network include settings of network adapter, LAN / Wi-Fi and TCP/IP.
Looking into your network settings is one of steps of effectively troubleshooting a system's network.
Few settings you could update are
1. LAN settings
2. TCP/IP network protocol properties
3. Network adapter settings
4. Internet connection
Effectively, updating the network settings is the next step. Few things to take note of when updating the network settings are
1. Create Standard Configurations for Device Classifications
2. Maintain the Current and Previous Network Configurations
3. Keep Track of Changes
4. Lastly, Document Network Changes