%%python
my_name = "Justin"
my_age = 17
not_actually_a_float_variable = 2.54
favorite_food = 'Strawberries?'
FavoriteHobby = 'Video Gaming!'
favoriteColor = 'Blue...'
a_dictionary = {
'name': 'Justin',
'age': 17,
'favorite_number': 35
}
a_list = [my_name, my_age, not_actually_a_float_variable]
print(a_dictionary, a_list)
{'name': 'Justin', 'age': 17, 'favorite_number': 35} ['Justin', 17, 2.54]
%%js
let my_name = "Justin"
let my_age = 17
let not_actually_a_float_variable = 2.54
let favorite_food = 'Strawberries?'
let FavoriteHobby = 'Video Gaming!'
let favoriteColor = 'Blue...'
let a_dictionary = {
'name': 'Justin',
'age': 17,
'favorite_number': 35
}
let a_list = [my_name, my_age, not_actually_a_float_variable]
console.log(a_dictionary, a_list)
<IPython.core.display.Javascript object>