Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Bringing It All Together | First Acquaintance
course content

Course Content

Introduction to Python

Bringing It All TogetherBringing It All Together

Let's put what we've learned to the test with this exercise.

Task

  1. On the third line, within the print() function, replace "name" with your own name.
  2. Divide 2894 by 274 to get an integer result, then raise that result to the power of 4. This goes on line 6.
  3. Comment out both the first and seventh lines so they won't display in the console.

Note

Don't confuse the / and // operators. Only the // operator returns an integer result.

Everything was clear?

Section 1. Chapter 6
toggle bottom row
course content

Course Content

Introduction to Python

Bringing It All TogetherBringing It All Together

Let's put what we've learned to the test with this exercise.

Task

  1. On the third line, within the print() function, replace "name" with your own name.
  2. Divide 2894 by 274 to get an integer result, then raise that result to the power of 4. This goes on line 6.
  3. Comment out both the first and seventh lines so they won't display in the console.

Note

Don't confuse the / and // operators. Only the // operator returns an integer result.

Everything was clear?

Section 1. Chapter 6
toggle bottom row
some-alt