I need to take an input in the following form "score/max" (Example 93/100) and store it as a float variable. The problem I run into is that python does the division indicated by backslash and since the two numbers are integers, the result is 0. Even if I convert my input into a float the result is 0.0. Here is my code for reference:
#!/usr/bin/env python
exam1=float(input("Input the first test score in the form score/max:"))
If 93/100 is entered, exam1 variable will be equal to 0.0 instead of the intended 0.93.