Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
Quizzes
/
One line of arithmetic, with no brackets at all, uses the remainder operator, a product, floor division and a sum. What does the program print?
Python Programming
Easy
High School (9–10)
Python Basics › Operators and Expressions
PCEP (Python Institute)
Created by
StemPy Lab
Stuck? Show a hint
One line of arithmetic, with no brackets at all, uses the remainder operator, a product, floor division and a sum.
print(17 % 5 * 2 + 10 // 4)
What does the program print?
6.5
9
7
6
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A list of words is to be sorted by length, and words of the same length in alphabetical order. The key is missing. Which key, put in place of ____, makes the program print ['fig', 'date', 'kiwi', 'apple']?
A greeting program asks for a name and then for a number. The user types Ann, presses Enter, types 3 and presses Enter again. What is shown on the screen? →
More on
Python Basics › Operators and Expressions
Discussion (0)
Log in
to join the discussion.
Loading…
All questions on this topic →
Problems on this topic
A number has three digits, for example 472…
Medium
A student wrote these three formulas. Each one has a mistake in the brackets…
Medium
Work out each sum on paper, using the order of Python.
Easy
5000 rupees is put in a bank at 6 percent a year, with the interest added every year…
Hard
All problems on this topic →