Skip to content
← Back to Community
#WEEKLY5 - version 2 (not actual submission)
Profile icon
CodingGoose
** This is not my actual submission **

This is another way to solve the weekly(this supports floats ), so I posted this too.

Voters
Profile icon
CodingGoose
Comments
hotnewtop
Profile icon
TheDrone7

If it's not the actual submission, please don't include the # in the title.

Profile icon
CodingGoose

@TheDrone7 Ok. That won't happen again

Profile icon
CodingCactus
Profile icon
CodingGoose

@CodingCactus That's why it isn't the actual submission ;)

It should be fixed now.

Profile icon
DynamicSquid

@DannyIsCoding I just realized, we could just do this with a switch statement:

switch num1:
case num2:
cout << "Equal!";

And in python: https://jaxenter.com/implement-switch-case-statement-python-138315.html

Profile icon
AnmolRathi

@DynamicSquid the https://www.codeexampler.com/php-switch this is the best examples of python switch

Profile icon
AnmolRathi