reading-notes

Game of Greed I

How to use Random Module

import random
print random.randint(0, 5)   #0-5

import random
random.random() * 100   #0-100

import random
myList = [2, 109, False, 10, "Lorem", 482, "Ipsum"]
random.choice(myList)

from random import shuffle
x = [[i] for i in range(10)]
shuffle(x)
Output:
# print x  gives  [[9], [2], [7], [0], [4], [5], [3], [1], [8], [6]]

What is Risk Analysis

risk analysis is the process of identifying the risks in applications or software that you built and prioritizing them to test

How to perform Risk Analysis? There are three steps:

Test Coverage

References