跳至主要內容
8-pandas-exploration

AI悦创原创...大约 3 分钟1v1java 1v1纽约大学一对一NYU 1v1web 一对一数据结构一对一留学生辅导留学生作业辅导纽约大学一对一NYU 1v1
Cache Project Part 1 Main Memory

AI悦创原创...大约 3 分钟1v1java 1v1纽约大学一对一NYU 1v1web 一对一数据结构一对一留学生辅导留学生作业辅导纽约大学一对一NYU 1v1
Programming Assignment 3

AI悦创原创...大约 6 分钟1v1java 1v1纽约大学一对一NYU 1v1web 一对一数据结构一对一留学生辅导留学生作业辅导纽约大学一对一NYU 1v1
AirBnB MongoDB Analysis

AI悦创原创...大约 6 分钟1v1java 1v1纽约大学一对一NYU 1v1web 一对一数据结构一对一留学生辅导php留学生作业辅导纽约大学一对一NYU 1v1
02-R 语言编程

1. 决策

1.1 if 条件语句

在许多情况下,你需要根据条件做出决定。

为此,可以使用 if 语句。

例如:

x <- 24
if(x > 10){
    print( "x is greater than 10")
}

AI悦创原创...大约 24 分钟1v1R 语言一对一辅导数据分析一对一辅导数据分析一对一教学留学生辅导R留学生作业辅导1v1R 语言一对一辅导数据分析一对一辅导数据分析一对一教学留学生辅导R留学生作业辅导
Exam

AI悦创原创...大约 8 分钟1v1java 1v1纽约大学一对一NYU 1v1web 一对一数据结构一对一留学生辅导php留学生作业辅导纽约大学一对一NYU 1v1
Exam 1

AI悦创原创...大约 11 分钟1v1java 1v1纽约大学一对一NYU 1v1web 一对一数据结构一对一留学生辅导php留学生作业辅导纽约大学一对一NYU 1v1
Homework 8

Homework 8

Exercise 1: Sieve of Eratosthenes

Early in the course, we saw a few naive ways to output a list of prime numbers. Although we were able to improve the speed of the search a lot by incorporating a few arithmetic insights, it still took longer than it needed to for somewhat larger numbers.


AI悦创原创...大约 9 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Lab 8

Data analysis

For this lab you'll use dictionaries to collect statistics for a simple data file representing a collection of users. Begin by downloading the starter code and data hereLinks to an external site.


AI悦创原创...大约 3 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Homework 7

Homework 7

Exercise 1: Luhn's algorithm

Luhn’s algorithm, also known as the modulus 10 or mod 10 algorithm, is a checksum formula used to validate a variety of identification numbers, such as credit card numbers and ID numbers. You will write a program called luhn.py that asks for an account number and determines whether or not the number is valid using Luhn’s algorithm. The steps of the algorithm are given below.


AI悦创原创...大约 7 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Lab 7 - Street Craps

Street craps

img

In class we looked at a simple card game implemented using object-oriented programming. For this lab, you'll adapt that structure to create a simple dice game based on the classic signifier of misspent youth: street craps.

The rules of street craps are as follows. The shooter rolls two dice. If the first roll is 2, 3, or 12 the shooter loses. If the first roll is 7 or 11, the shooter wins. If the first roll is anything else, that value becomes the shooter's "point". The shooter continues to roll the dice until either the "point" comes up again, in which case the shooter wins, or until a 7 comes up, in which case the shooter loses.


AI悦创原创...大约 4 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Homework 6

Homework 6

Part 1: Book questions

Create a text file called hw6_book_exercises.txt. Answer 7.7 Exercises 1 through 10 from the textbook.

Part 2: Programming exercises

Programming exercise 1: Triangular number list

This program will revisit the concept of "triangular numbers"Links to an external site. from a previous assignment. You may re-use code from your solution to that assignment if you wish.


AI悦创原创...大约 5 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Lab 6

For this lab period, please do the following exercise.

Making a rocket

For this exercise, you'll do a little more ascii art! In this exercise, you'll need to pull some of the functionality out of main() into its own functions.

You'll write a program called make_a_rocket.py that prints out a rocket consisting of a nose cone, a fuselage, and a tail fin structure. The program will take 2 required arguments and one optional argument. The two required arguments are numbers representing the width of the rocket in characters, and the length of the rocket's fuselage in square segments. The third argument will be either left blank (not given) or will be the word "striped". The nose cone and tail structure are composed of * characters. The fuselage is made up of X characters by default. If the striped argument is passed when the program is executed, each segment of the fuselage will be drawn half with Xs and half with _ characters, resulting in a striped appearance.


AI悦创原创...大约 3 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Homework 5

Homework 5

Water Consumption

This week you'll write a program that performs some analysis on actual, real-life data! My friend Brad moved into a new house — one that has a device that monitors how much electricity is used. Once a minute, it records the power usage on each of the electrical circuits in the house. The water comes from a well, and it dawned on him that he could calculate how much water the house is using by looking at the power data.


AI悦创原创...大约 7 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Lab 5

For lab 5, please do the following exercise

Word & character counter

Download the text file from hereLinks to an external site.. You'll write a program called word_count.py that prompts the user for a file name, then prints out counts of words, non-whitespace characters (including punctuation), and alphanumeric characters (letters and numbers, excluding punctuation), like this:


AI悦创原创...大约 5 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导
Homework 4

Part 1: Book questions

Create a text file called hw4_book_exercises.txt. Answer 5.9 Exercises 1 through 5, and 13 from the textbook.

Part 2: Programming exercises

Programming exercise 1: Triangular numbers

Write a program called triangular.py that takes a number as an argument when the program is run and prints out the "triangular number"Links to an external site. of the input number (i.e., the sum of values between 1 and the input number).


AI悦创原创...大约 6 分钟1v1python 1v1数据结构一对一留学生辅导留学生作业辅导northeastern一对一辅导东北大学Python辅导东北大学Python一对一辅导