-
Posts
2,280 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Store
Gallery
Community Map
Everything posted by geofferz
-
Is this true @Bender?
-
Surprised that a mere 30 minutes of charging the battery is sufficient? Guess it depends how often you ride it.
-
That confused the hell out of me initially!
-
Annoying it often categorically makes up things; yes admits it when questioned, but still what do you believe?
-
They have repositories for that on git hub...
-
Doesn't sound like a good way to learn!
-
Mine is the same - my speedo was showing 70mph buy I got clocked at 140?
-
Welcome! Nice mate - those 2 bikes are what I recommend for beginners on here all the time
-
Is that not my error from the start? Good point to check though. Who was it recently who asked it a maths question and it was just wrong? Then asked it to check and it was like oh yeah sorry. Crazy, how does that happen? Calculators don't get sums wrong do they?
-
Now trying to get it hosted as an unauthenticated webapp which is proving tricky
-
I cheated and asked chat gpt to make it more elegant and it did. Current code is age = int(input("How old are you? ")) if age < 16: print("When you're 16 you can do a CBT then ride a 50cc moped") elif age == 16: print("You can ride a moped; when you're 17 you can do a CBT then ride a 125") elif age >=17 and age <19: print("You can do a CBT then ride a 125 on L plates. When you're 19 you can do an A1 course and ride a 125 with no plates") elif age == 19: print("You can take your CBT and ride a 125 on L plates, or do an A1 course and ride a 125 with no plates") elif age < 21: print("A2 licence") elif age >= 24: print("Direct access") else: length = int(input("How many years have you been riding? ")) if length >= 2: print("After 2 years riding on an A2 licence, you can take an unrestricted DAS test") else: print("Once you've been riding on an A2 licence for 2 years, then you can do your DAS on an unrestricted bike")
-
You're bang on mate - not sure how it didn't error. It now says if age <= 19 and age <21 I'd forgotten my syntax layout. Or operator or whatever its called. Just trying to see how I can host it as a webapp now.
-
yeah good idea. I also can't work out why elif age 19 has to be before 17 or it doesn't work but hey, it works so I ain't touching it!
-
Just wrote my first ever programme! In python. Probably look somewhat inelegant Might make it into a handy Web app for often asked questions. age = int(input("How old are you? ")) if age >= 24: print ("Direct access") elif age >= 21 <24: length = int(input("How many years have you been riding? ")) if length >=2: print ("After 2 years riding on an A2 licence you can take an unrestricted DAS test") else: print ("Once you've been riding on an A2 licence for 2 years then you can do your DAS on an unresitricted bike") elif age >=19 <21: print ("A2 licence") elif age >=17 <19: print ("CBT") else: print ("When you're 17 you can do your CBT")
-
Haha lol welcome back. Errr dunno. Not sure how long I've been posting for. But, insurance is expensive nowadays, that's like 80% of what people care about
-
That's the best way - limits protect licences! My bike is limited to 186mph.
-
Welcome! I had an mt125, did my test on an 07 and bought a 10. Love the mts.
-
Hello from a 'if I wanted a tourer I'd get a car' (but will probably change my mind in 5 years time) sports bike owner. I love turkey, spent 7 months there in covid.
-
Probably marshy like mine?