Some symbols I can think of that Ruby uses that python doesn’t:
$ for global vars
@ for instance vars
:: for namespace stuff
=> for map key, value separator
{||} for blocks
.. and … for ranges
%w for special array construction
: for symbols
? and - in method names
?: for ternary expressions
#{} for string interpolation
And python that Ruby doesn’t have:
:: for slices
@ for decorators
And for the symbols that they both share, subjectively, a lot of them are used for often in Ruby.
And python that Ruby doesn’t have: :: for slices @ for decorators
And for the symbols that they both share, subjectively, a lot of them are used for often in Ruby.