tlee0058 / Python_Fundamentals-II

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python_Fundamentals-II

  1. Fun with Functions Create a series of functions based on the below descriptions. Hacker challenge: alt tag
  2. Scores and Grades Write a function that generates ten scores between 60 and 100. User Random
  3. Coin Tosses Write a function that simulates tossing a coin 5,000 times. Your function should print how many times the head/tail appears.
  4. Stars Create a function called draw_stars() that takes a list of numbers and prints out *. alt tag
  5. Making and Reading from Dictionaries Create a dictionary containing some information about yourself. The keys should include name, age, country of birth, favorite language.
  6. Name: Create a program that prints the following format (including number of characters in each combined name) alt tag 7)Dictionary in, tuples out Write a function that takes in a dictionary and returns a list of tuples where the first tuple item is the key and the second is the
  7. Making Dictionaries Create a function that takes in two lists and creates a single dictionary. The first list contains keys and the second list contains the values. Assume the lists will be of equal length.
  8. The Requests Library Build a simple program that makes use of the requests module. 10)NumPy Build a simple program using the NumPy module.