Answer:
The best answer to the question: Business competition is no longer limited to a particular country or even a region of the world:___, would be: True.
Explanation:
Globalization has changed the way that all aspects of human life, and human activities develop. Globalization has meant the erasing of limitations that were placed primarily on trade and economic activities, but it also extended to other aspects of life. Because of technology advancements, especially in communications, connectivity, and travelling, the world is now easily connected and limitations are only placed up to a certain level. Thus, and especially economically, business competition has become a global issue too, with now more and more presence of multinational businesses, companies that extend not necessarily to one country, or even one region of the world, but extend to any region that will allow them to enter for business exchanges.
Answer:
The program in Python is as follows:
word = input("Word: ")
if len(word) < 5:
print("At least 5 characters")
else:
pal = word[0:5]
word = word[0:4]
word = word[::-1]
pal+=word
print(pal)
Explanation:
This gets the word from the user
word = input("Word: ")
This checks if the length of the word is less than 5.
if len(word) < 5:
If yes, this tells the user that at least 5 characters is needed
print("At least 5 characters")
If otherwise
else:
This extracts the first 5 characters of the word into variable named pal
pal = word[0:5]
This extracts the first 5 characters of the word into variable named word
word = word[0:4]
This reverses variable word
word = word[::-1]
This concatenates pal and word
pal+=word
This prints the generated palindrome
print(pal)
Answer:
// program in Python
#variables
mx=-1000
mn=1000
#read 10 values from user
for i in range(1,11):
num=int(input("Enter the number {}:".format(i)))
#input validation
while num not in range(-100,100):
num=int(input("Wrong input!! Enter again:"))
#find maximum
if num<mn:
mn=num
#find minimum
if num>mx:
mx=num
#print maximum
print("largest value is:",mx)
#print minimum
print("smallest value is:",mn)
Explanation:
Create variables "mx" to store maximum and "mn" to store minimum.Read 10 numbers from user.If the input number if less than -100 or greater than 100 then ask again to enter a number between -100 to 100 only.Find the maximum and minimum from the all 10 numbers.Print maximum and minimum values.
Output:
Enter the number 1:23
Enter the number 2:-200
Wrong input!! Enter again:33
Enter the number 3:-2
Enter the number 4:45
Enter the number 5:105
Wrong input!! Enter again:45
Enter the number 6:-44
Enter the number 7:-56
Enter the number 8:79
Enter the number 9:98
Enter the number 10:4
largest value is: 98
smallest value is: -56