(letter=Z)
letter = input("Enter a letter: ")
if letter in ['a','e','i','o','u','A','E','I','O','U']:
print("The given letter is a vowel.")
else:
print("The given letter is not a vowel.")
The given letter is not a vowel.
If the statement is false in an if statement, what will be the output?
Nothing
Edward Feigenbaum was often called the ______.
"Father of Expert Systems".
The if....else statement is the simplest conditional statement
False
In Python the ___-zero value is interpreted as TRUE.
____ and _____ are interpreted as ____.
non, None and 0, False.
Marvin Minksy provided expert advice on several projects including Stanly Kubrick's ______________.
"A Space Odyssey".
What is the answer of the expression, 2**2**2**2?
256
(Choice=5, a=25, b=3)
print("2=Area of circle")
print("1=Area of square")
a=int(input("enter side length (in meters): "))
b=int(input("enter radius (in meters): "))
choice=int(input("enter your choice: "))
square= a*a
circle= 3.14*b*b
if choice== 1:
print(square)
elif choice== 2:
print(circle)
else:
print("invalid statement")
invalid statement
Father of Artificial Intelligence?
John McCarthy.
The _____ statement is the simplest conditional statement.
if
1.![]()
2.
Which is the Python programing language logo?
1 or 2?
1
The AI system Deep Blue won against world renowned chess master ______.
Garry Kasparov.
Does the if.....else statement contain an elif?
No
Does the If not..... else statement exist?
No
John McCarthy received the _________ in 1971.
Turing Award.