Answer:
is this a multipe choice question? or should i answer what i would think is dangerous about driving down hill?
Explanation:
please elaborate so i can answer better! :D
Answer:
This code will no get executed properly.It will give keyerror Brianna.
Explanation:
In this dictionary we defined in the code the there is no key Brianna hence there is no corresponding value to Brianna.So assigning ages['Brianna] to value will obviously give error since there exits no key with this name.So the code will give error.
Is this computer science?
If so, then the function you would need for your code is this...
_____
if (someValue%2 != 0) {
value *= -1;
}
_____
//basically <u>number%2 == 0</u> means even so "!" means false so "not even" meaning "odd."
Assuming you are doing an array list (given a set value) or a for-loop with an
int someValue = Integer.parseInt(args[i]); inside (not given a set value and not restricted)
Otherwise ignore me....lol
<span> (keyboards, mice, scanning, computer chips)</span>
Answer:
def main():
name = input("What is your name? ")
if not name == "" or "":
age = int(input("What is your age? "))
print("Hello " + name + "! You were born in " + str(2021 - age))
main()
Explanation:
Self explanatory