Quantcast
Viewing latest article 21
Browse Latest Browse All 43

Answer by Chase Seibert for How to form a string from 2 values

Here is a way to combine two values, and print them out.

string_value = 'BOF'float_value = 0.0print "%s:%s" % (string_value[-1], float_value)>>F:0.0

Viewing latest article 21
Browse Latest Browse All 43

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>