she should leave and go somewhere else for a mminute to cool and then come backa nd close tabs.
Answer
we can decrease risk for an entrepreneur by creating a team of trusted advisors to rely on.
there are some points that we can take in mind know how to position our company as a safe position.
revenue streams and additional technology, paving the way for future growth.
Entrepreneurs can use all these unique strategies to decrease those risk
Answer:
import re
def country_capita():
#opens file
file=open("inputfile.txt", "r")
dictionary=dict()
#reads line by line
for line in file.readlines():
# substitutes for multiple space a single space
line = re.sub(r"[\s]{2, }", ' ', line)
list=[]
#splits line on space
list=line.split(" ")
#put into dictionary
dictionary[list[1]]=list[2]
# get input
while True:
choice=input("Enter the country name or quit to exit: ")
if choice=="quit":
break
elif choice in dictionary.keys():
print(dictionary[choice])
else:
print("Invalid Country")
country_capita()
Explanation:
Using python to code this program. First we, (line 1) import the re module which offers us a set of functions that allows us to search a string for a match. ((line 2) Next we define a function country_capita() that will open rawdata_2004.txt, read the information within line by line and create a dictionary list. The we create a while loop with conditional statements that prompt the user to enter country names, print the corresponding values and stops when the user enters quit.
Answer:
strr=input("please enter something: ")
while strr is not "":
print(strr)
strr=input("please enter something: ")
Explanation:
whenever the user will enter an empty string the loop will terminate
Answer:
The value of result is 20
Explanation:
Given
The above code segment
Required
The value of result
In the first line, we have:

In the second, we have:

This implies that:



