Python Forum
Whats the difference between these two?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Whats the difference between these two?
#3
Try calling each function with this code and note the difference in output. an you figure out why it is different?
for speed in range(50,100,20):
	print(f'speed = {speed} : {caught_speeding(speed, False)}')
Reply


Messages In This Thread
Whats the difference between these two? - by Puxk - Jul-08-2020, 10:34 AM
RE: Whats the difference between these two? - by TomToad - Jul-08-2020, 11:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Whats the problem here? Class Ronaldx 4 2,268 Nov-26-2019, 10:29 PM
Last Post: jefsummers
  whats wrong with my code? syntax errors r6lay 5 6,563 Mar-16-2017, 04:14 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020