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

Fixing code errors

Errors in code are a common part of programming. DataLab’s AI assistant helps you identify and fix these errors efficiently.

In this exercise, you’ll debug a notebook that calculates the total revenue from a sales dataset, but it currently has multiple issues.

Bu egzersiz

Introduction to DataLab

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

Egzersiz talimatları

  • Run the provided broken code, which is intended to calculate total revenue to the nearest whole number.
  • Use the AI's "Fix & Explain" feature to identify and fix the errors.
  • Review the proposed changes to see what was wrong and learn from the suggestions.
  • Apply the suggested fixes.

Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat