Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: error
Post: error

import datetime def inputYear(msg, errmsg, l, h): done = 0 while (not done): try: ans = input(msg) year = int(ans) if (year < l) or (year > h...
lokchi2017 General Coding Help 3 8,542 Aug-06-2018, 01:46 PM
    Thread: for some reason this isnt working
Post: RE: for some reason this isnt working

does this print(errmsg)
lokchi2017 General Coding Help 3 2,719 Aug-06-2018, 10:35 AM
    Thread: for some reason this isnt working
Post: for some reason this isnt working

import datetime def inputYear(msg, errmsg, l, h): done = 0 while (not done): try: ans = input(msg) global year year = int(ans) if (year...
lokchi2017 General Coding Help 3 2,719 Aug-06-2018, 10:24 AM
    Thread: How to tidy up the code
Post: How to tidy up the code

how to tidy up the playeranswer part with list or other methods? import random question = list() question1 = input ("Question 1") question.append(question1) question2 = input ("Question 2") question.a...
lokchi2017 General Coding Help 1 2,390 Jul-15-2018, 12:06 PM
    Thread: code
Post: code

import random question1 = input("Question!") answer1 = input("Answer of question1") question2 = input("Question!") answer2 = input("Answer of question2") question3 = input("Question!") answer3 = input...
lokchi2017 General Coding Help 2 2,793 Jul-07-2018, 11:28 PM
    Thread: code problems
Post: RE: code problems

print("okay")like python /python(with []) is this a python tag
lokchi2017 General Coding Help 3 2,724 Jul-06-2018, 01:39 AM
    Thread: code problems
Post: code problems

is there any problems in this code, because it says invalid syntax question1 = input("Question!") answer1 = input("Answer of question1") question2 = input("Question!") answer1 = input("Answer of q...
lokchi2017 General Coding Help 3 2,724 Jul-05-2018, 11:47 PM
    Thread: google
Post: google

is there anyway to connect python to google? like so i can search google through python
lokchi2017 General Coding Help 1 47,513 Jul-05-2018, 11:35 PM
    Thread: invalid syntax
Post: invalid syntax

this code should be okay, but when i run it it says "invalid syntax." Code: youtuber = input("Name a YouTuber!") subs = input("How many subs?") print (youtuber + "is a YouTuber with" + subs "subscribe...
lokchi2017 General Coding Help 1 2,559 Jul-05-2018, 09:36 AM

User Panel Messages

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