Python 12. Modulo


#1

How do I properly code this?

https://www.codecademy.com/courses/learn-python/lessons/python-syntax/exercises/modulo?action=lesson_resume

#Set spam equal to 1 using modulo on line 3!

spam

Write your code above!

print spam

Thanks so much in advance for your help!


#2

You’ll need an operator (assignment) and a modulo expression that yields 1. Any numbers will do, just make the first operand 1 more than the second.


#3

Great! Thanks a lot!


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.