Five mini python projects and the solutions
http://knightlab.northwestern.edu/2014/06/05/five-mini-programming-projects-for-the-python-beginner/
1. roll a dice
import random
def ran1(x):
r1=random.randint(1,x)
print(r1)
if __name__=="__main__":
ran1(6)
I wrote about the solutions to some problems I found from programming and data analytics. They may help you on your work. Thank you.
ezoic
Subscribe to:
Post Comments (Atom)
R is not a simple programming language, and it does better on reading excel files than python
R is not a simple programming language, and it does better on reading excel files than python . tried to read excel files to python and R. i...
-
Previously, I wanted to install "script" on Atom to run PHP. And there was some problem, like the firewall. So I tried atom-runner...
-
I tried to commit script to bitbucket using sourcetree. I first cloned from bitbucket using SSH, and I got an error, "authentication ...
-
https://github.com/boto/boto3/issues/134 import boto3 import botocore client = boto3.client('s3') result = client.list_obje...
No comments:
Post a Comment