Answer:
for y in range(88, 43, -4):
print(y, end=" ")
Explanation:
yw
Answer:
Since the language isn’t stated, I’ll give answers in the two most-used (?) languages: Java and Python.
a) To print a’s value 3 times in the same line, in Java we would do:
System.out.print(a+a+a);
In Python, we would write:
print(a*3)
b) 2 times in different lines using one print statement
In Java, we would write
System.out.println(a+”\n”+a+”\n”+a);
In Python we would write:
print(a,a,a,sep=’/n’)
Hope this helps!
Answer:
Explanation:
Computer also facilitate comfort to our life and provides convenience. For transportation, it facilitate the way people travel. Airways, Roadways and waterways uses computers to control their operation. It saves time and relieve severity of traveling difficulties.
Answer:
Number of strings = (10, 2)×(8,3) = 2520
Explanation:
The number of possible combinations for taking two 0's is C(10, 2)
It remains 8 Positions
The number of possible combinations for taking three 1's is C(8,3)
So there remains 5 spots