224k views
21 votes
A data science experiment you are conducting has retrieved two historical observations for the price of Bitcoin(BTC) on December 2, 2017 of 11234 and 12475. Create a Python script that stores these two historicalobservations in a list variable namedbtcdec1.

1 Answer

13 votes

Answer:

In Python:

btcdec1 = []

btcdec1 = [11234, 12475]

print(btcdec1)

Step-by-step explanation:

First, create an empty list named btcdec1

btcdec1 = []

Next, insert the two data (11234 and 12475) into the list

btcdec1 = [11234, 12475]

Lastly, print the list

print(btcdec1)

User Harshvardhan Joshi
by
4.3k points