• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1
Yes you can indeed do that. Try the following code: a=5 a=5.0 a="String" puts a The output is Duck.
8th Dec 2016, 3:33 PM
PythonProMaybe

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What are ctx.save() and ctx.restore() in canvas?
0 Votes
اريد برنامج بيع شاهي احمر وشاهي حليب وكبتشينو
1 Votes
Account trouble.
3 Votes
What could i use c# and c++ for?
1 Votes
What course is worth and best in this time ?
0 Votes
Is everyone else's lessons not loading?
2 Votes
App keeps crashing
2 Votes
What do you think about using AI?
0 Votes
Why Pointers Not Supported In Java ?
1 Votes
anyone else seeing "try again later" sololearn doesn't seem to work
2 Votes