0

I have read vegaseat's "Projects for the Beginner" sticky and got really interrested in the eqaution solver for physics or mathematics problem. I just need a little Python hint how to get this started.

2
Contributors
1
Reply
2
Views
13 Years
Discussion Span
Last Post by vegaseat
0

In C I used lots of switch/case statements. Now Python does not have a switch/case construct. You could use mutliple if/elif, or better a dictionary with lambda functions. Come to think of it, a Python dictionary almost looks like a C switch/case. Read up on lambda too.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.