BaşlayınÜcretsiz Başlayın

Determining types

Python has a built-in command type() that can determine the type of a variable or literal value. Let's determine the data types of the variables you created in the last exercise.

Bu egzersiz

Introduction to Python for Finance

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

Print the data types associated with the variables company_1, year_1 and revenue_1.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Type of company_1
print(____(company_1))

# Type of year_1
____(____(year_1))

# Type of revenue_1
____
Kodu Düzenle ve Çalıştır