Computer Science, asked by Anonymous, 1 day ago

[tex]
{\color{red}{Which of the following is correct to take input of age from the user in integer form?
a) age=input("Enter your age")
b) age=int (input ("Enter your age"))
c) age=input(int ("Enter your age")) }}

\color{pink}{What will be the output of the expression: x>=y and x=-y, if x=10, y=107
a) True
b) False
c) Error}
[\tex]​

Answers

Answered by strenbr
6

\Large\tt\red{Qu}\green{Es}\purple{Ti}\orange{On}\pink{:-}

Which of the following is correct to take input of age from the user in integer form?

a) age=input("Enter your age")

b) age=int (input ("Enter your age"))

c) age=input(int ("Enter your age"))

\Large\tt\red{A}\orange{N}\green{S}\pink{W}\blue{E}\purple{R:-}

b) age = int(input("Enter your age))

  • Age = int(input("Enter your age)) is the correct form to take input of age from the user in integer form.

\bold\color{red}{------------------}

\Large\tt\red{Qu}\orange{Es}\purple{Ti}\green{On}\pink{:-}

What will be the output of the expression: x>=y and x=-y, if x=10, y=107?

a) True

b) False

c) Error

\Large\tt\red{A}\orange{N}\green{S}\pink{W}\blue{E}\purple{R:-}

a) True

  • True will be the output of the expression: x>=y and x=-y, if x=10, y=107

 \color{red}{------------------}

{\color{indigo}{\boxed{\underline{\tt{\color{aquamarine}{\colorbox{black}{I \: HOPE \: IT \: HELPS \: YOU \: =)}}}}}}}

Similar questions