the data type of sc is set to String to get any type of input from the user. So if user enters in integer data type, we convert it into integer by Integer.parseInt()
Java has many different use cases and is better for certain applications than python. It is also often taught in universities so I figured I’d make a series on it.
Tim i need your help with something. using your method to shoot bullets from your pygame tutorials, I created a game, but when two enemy sprites overlap and a bullet hits this appears: bullets.pop (bullets.index(bullet)) ValueError: is not in list. How would I fix this?
First like and first watch :D
Tim uploaded this vid on New years eve. Your a goat
preparing for exams right now... thanks a lot Tim
I might have missed this, but why use int age = Integer.parseInt(s) instead of just straight up doing int age = sc.nextInt()?
the data type of sc is set to String to get any type of input from the user.
So if user enters in integer data type, we convert it into integer by Integer.parseInt()
Hi Tim u are best but is python not more simple, faster and easy do program than java? Which is better?
Java has many different use cases and is better for certain applications than python. It is also often taught in universities so I figured I’d make a series on it.
Bro can you tell me how to change background colour in python
Tim i need your help with something. using your method to shoot bullets from your pygame tutorials, I created a game, but when two enemy sprites overlap and a bullet hits this appears: bullets.pop (bullets.index(bullet))
ValueError: is not in list. How would I fix this?
juvenile is younger than 13