1 2 3 4 5 6 7 8
my_string = 'voltage is E=200V and the current is I=4.5A' # Assuming you are working with the hard coded index voltage = float(my_string[13:16]) current = float(my_string[39:42]) print(voltage, current)
You have reached a limit of free submissions this month.
You cannot send submissions this month anymore because of exceeding your monthly limit. Please recharge your account.
the submission is still running...
- upload with new input
result: Success time: 0.02s memory: 5852 kB returned value: 0