Skip to content

Commit a6e66a7

Browse files
Add files via upload
1 parent a0f4a36 commit a6e66a7

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

Diff for: Import/Cowsay.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from cowsay import *
2+
i = (input("Enter your name: "))
3+

Diff for: Import/Random.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from random import *
2+
3+
num = randint(1, 30)
4+
print("Roll NO:", num)
5+
name = choice(["Harshit Mandal", "Ayush Raj", "Arsham Malik", "Priyam Aggarwal", "Mayank ", "Aadarsh",
6+
"Aman Singh", "Arihant Maurya", "Piyush Kumar Singh", "Harshit Verma"])
7+
print("Name:", name)
8+
print("Class: 8B ")
9+
date = randint(1, 28)
10+
Month = choice(["January", "February", "March", "April", "May", "June", "July",
11+
"August", "September", "October", "November", "December"])
12+
Year = choice(["2008", "2009", "2007"])
13+
print("DOB:", date, Month, Year)

Diff for: Import/System.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import sys
2+
from sys import *
3+
4+
print("Python Version:", sys.version)
5+
print("Python Version Info:", sys.version_info)
6+
print("Hello", sys.argv[0])

0 commit comments

Comments
 (0)