Answer:
x = int(input ("enter first number: "))
y = int(input ("enter second number: "))
z = int(input ("enter third number: "))
print('%6d %6d %6d' %(x,y,z))
Explanation:
Using python programming language we receive three integers variables (x,y,z) then using string formatting (%6) which specifies that the output should be right justified with a width of 6, the values are printed out.
Answer:
a = int(input("Enter first number: "))
b = int(input("Enter second number: "))
c = int(input("Enter third number: "))
a,b = a+b,b+c
print(a,b,c)
Explanation:
Assignments like this are easy in python, in the sense that no helper variables are needed!
Answer:
def str_analysis(s):
if s.isdigit():
s = int(s)
if s > 99:
message = str(s) + " is a pretty big number"
else:
message = str(s) + " is a smaller number than expected"
elif s.isalpha():
message = s + " is all alphabetical characters!"
else:
message = "There are multiple character types"
return message;
s = input("enter word or integer: ")
while s != "":
print(str_analysis(s))
s = input("enter word or integer: ")
Explanation:
- Check if the string is digit, alphabetical, or mixed inside the function
- Ask the user for the input
- Call and print the result of the <em>str_analysis</em> function inside the while loop
- Keep asking for the input until the given string is empty
Answer:
Tier 1 support
Explanation:
Of the given options, tier 1 support technical group is the least experienced group. This group of technicians is also referred to as level 1 technical group.
The tier 1 or level support are made up of junior technician, and they have few technical understandings.
Their roles include email response and basic troubleshooting, attending to phone calls, among others.
When a problem cannot be solved by tier 1 support technicians, they pass the problem to tier 2 support technicians,