Computers and Technology

- Create a dictionary for a dragon with details: name => "Smaug" or any string

title => "King Under the Mountain, Lord Smaug" or any string

level => any number

abilityList, (a list of strings that contains the ability names)

- 'Gravity Field'

- 'Ascend'

- 'Dragon Rage'

- 'Stoneplate'

- 'Reborn'

attackDamage => any number

mana => any number

abilityPower => any number

armor => any number

magicResist => any number

isAngry => True or False

- Using the dictionary you created, print the title and isAngry,

also print the first ability from the ability list

- Update dragon's level to 100 using something like this: dictionary[key] = 100 (replace the dictionary and key with your dragon's variable name and actual key name, like 'level')

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, jhonpiper
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
image
Computers and Technology, 23.06.2019 16:30, azainababbas
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
image
Computers and Technology, 23.06.2019 16:30, mirmir62
Which of the following is not an enhancement to the standard wiki to make it more attractive for corporations? encryptionwork spacespermission toolspredictive text
Answers: 2
image
Computers and Technology, 23.06.2019 17:30, Annlee23
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2ฤƒโ€”, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5ฤƒโ€” slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
Do you know the correct answer?
- Create a dictionary for a dragon with details: name => "Smaug" or any string

titl...

Questions in other subjects:

Konu
Physics, 20.02.2021 20:30
Konu
Chemistry, 20.02.2021 20:30
Konu
Chemistry, 20.02.2021 20:30
Konu
Mathematics, 20.02.2021 20:30
Konu
Biology, 20.02.2021 20:30