New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Write a function in python to take decimal number as arguments and return it's corresponding hexadecimal number
2 Answers
+ 6
Jan Markus omgg
That's cool 🤔👌
+ 2
float.hex() can help,
https://code.sololearn.com/cvaoNIaSTOKv/?ref=app