* or × ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

* or × ?

so I'm New to python. last time I was playing around in code playground I came across a wired error that puzzles me..what's the difference between '*' (star)and '×'(cross) operator in python? aren't both of them used for multiplication?

16th Jan 2017, 6:39 PM
Mohammad Hossein Barati
Mohammad Hossein Barati - avatar
2 Réponses
+ 9
*
16th Jan 2017, 7:24 PM
Sergey
+ 4
* it's pretty standar in almost (if not every) language for multiplication.
16th Jan 2017, 6:49 PM
Nahuel
Nahuel - avatar