0
Guys,i dont understand how do the Tip Calculator in Python for Begginers
I know how do,but this challenge have multiple aswers and im confuse :(
8 odpowiedzi
+ 2
Use the input function
0
You have to read input and calculate output from that. Input will be given automatically when running test cases
0
Trying, and trying again makes it happen.
0
Bejamin Jürgens but i dont understand yet 🤔,i tried use two inputs and it caused an error
0
You don't have to use two inputs, just use one, when you will run input will be given
0
Scarlet Witch But when i put an number valvue it causes an error too
0
Don't put a number value use a input function, like:
bill = input()
0
cat cute you should have only one number in your code for the 20% tip. Can be given as 20/100 or 0.2 or 1/5. If you look at the number from test cases and use those in your code, you are doing it wrong. Use int(input()) instead of those numbers and your code will get the numbers for each test case automatically