Numbers Warm Up#

Section Title: Numbers Warm Up

Warm Up Question-1#

Write a code to compute \(2\times(3+4)-2^3\).

Warm Up Question-2#

Write a code to compute \(\sqrt{36}\).

Warm Up Question-3#

Write a program to display the last two digits of 1234 using the remainder operator.

Warm Up Question-4#

Determine the output of the code below and provide an explanation.

x = 10
x = x*2
print(x)

Warm Up Question-5#

Determine the output of the code below and provide an explanation.

x = 25
x //= 6
print(x)

Warm Up Question-6#

Write a program that prompts the user for a 4-digit positive number then print the tens digit of that number.

Warm Up Question-7#

Write a program that prompts the user for a 4-digit positive number then print the hundreds digit of that number.

Warm Up Question-8#

Write a program that prompts the user for a 4-digit positive number then print the thousands digit of that number.