why we use import random python code example
Example 1: how to import random in python
import random
Example 2: import random in python
# Assessment Task 7.2.1
def DisplayOddNum(N):
pass
for x in DisplayOddNum(20)
print(x)
import random
# Assessment Task 7.2.1
def DisplayOddNum(N):
pass
for x in DisplayOddNum(20)
print(x)